diff options
author | tsi <tsi> | 2008-12-10 16:32:03 +0000 |
---|---|---|
committer | tsi <tsi> | 2008-12-10 16:32:03 +0000 |
commit | d8c025651853900855981990bbc0b74564c0a2a4 (patch) | |
tree | 206474ecceaec0e8a9636f73fd69c03367ce7856 | |
parent | 7243ad840afb0bfbab64d44b149a175359c8a484 (diff) |
Solaris 7's /bin/sh (a.k.a. jsh) does not recognise $(command) constructs.
Use the older `command` construct instead.
-rwxr-xr-x | programs/Xserver/hw/xfree86/etc/bindist/build-bindist | 6 |
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 |