summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsi <tsi>2008-12-10 16:32:03 +0000
committertsi <tsi>2008-12-10 16:32:03 +0000
commitd8c025651853900855981990bbc0b74564c0a2a4 (patch)
tree206474ecceaec0e8a9636f73fd69c03367ce7856
parent7243ad840afb0bfbab64d44b149a175359c8a484 (diff)
Solaris 7's /bin/sh (a.k.a. jsh) does not recognise $(command) constructs.
Use the older `command` construct instead.
-rwxr-xr-xprograms/Xserver/hw/xfree86/etc/bindist/build-bindist6
1 files changed, 3 insertions, 3 deletions
diff --git a/programs/Xserver/hw/xfree86/etc/bindist/build-bindist b/programs/Xserver/hw/xfree86/etc/bindist/build-bindist
index 55cfa5379..80fae9528 100755
--- a/programs/Xserver/hw/xfree86/etc/bindist/build-bindist
+++ b/programs/Xserver/hw/xfree86/etc/bindist/build-bindist
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $XFree86: xc/programs/Xserver/hw/xfree86/etc/bindist/build-bindist,v 1.7tsi Exp $
+# $XFree86: xc/programs/Xserver/hw/xfree86/etc/bindist/build-bindist,v 1.8tsi Exp $
#
Usage()
@@ -46,12 +46,12 @@ esac
FROMDIR=$1
TODIR=$2
-if [ "$(echo $FROMDIR | cut -b 1)" != "/" ]; then
+if [ "`echo $FROMDIR | cut -b 1`" != "/" ]; then
echo $FROMDIR is not an absolute path
exit 2
fi
-if [ "$(echo $TODIR | cut -b 1)" != "/" ]; then
+if [ "`echo $TODIR | cut -b 1`" != "/" ]; then
echo $TODIR is not an absolute path
exit 2
fi