summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2011-05-19 14:55:13 +0000
committerGrant Gayed <ggayed>2011-05-19 14:55:13 +0000
commitb3844b5fe32ee1597cae3b2797ede3237516fd80 (patch)
treebea8069ff724460ba08a2de878565ad205aeb938 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
parent7c94a2f694ae961aae480fdde71f51ab8e37b556 (diff)
downloadeclipse.platform.swt-b3844b5fe32ee1597cae3b2797ede3237516fd80.tar.gz
eclipse.platform.swt-b3844b5fe32ee1597cae3b2797ede3237516fd80.tar.xz
eclipse.platform.swt-b3844b5fe32ee1597cae3b2797ede3237516fd80.zip
fix external.xpt compile on solaris sparc
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
index 8a75968179..77df70f1e5 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
@@ -25,16 +25,16 @@ if [ "${CC}" = "" ]; then
fi
# Check if we have to compile external.xpt from external.idl
-COMPONENTS_DIR=$(pwd)/../../components
+COMPONENTS_DIR=`pwd`/../../components
if test ! -f ${COMPONENTS_DIR}/external.xpt; then
if test ! -f ${COMPONENTS_DIR}/external.idl; then
echo "Can't find ${COMPONENTS_DIR}/external.idl"
else
- IDLDIR=$(pkg-config --variable=idldir libxul | sed 's@/stable$@@')/unstable
+ IDLDIR=`pkg-config --variable=idldir libxul | sed 's@/stable$@@'`/unstable
if test ! -d ${IDLDIR}; then
- IDLDIR=$(pkg-config --variable=idldir libxul)
+ IDLDIR=`pkg-config --variable=idldir libxul`
fi
- XPIDL=$(pkg-config --variable=sdkdir libxul)/bin/xpidl
+ XPIDL=`pkg-config --variable=sdkdir libxul`/bin/xpidl
echo "${XPIDL} -m typelib -I ${IDLDIR} -e ${COMPONENTS_DIR}/external.xpt ${COMPONENTS_DIR}/external.idl"
${XPIDL} -m typelib -I ${IDLDIR} -e ${COMPONENTS_DIR}/external.xpt ${COMPONENTS_DIR}/external.idl
fi