1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

bin/package: fix a POSIX-ism (re: 3552a2ba)

The INIT scripts are supposed to be Bourne shell scripts, not
POSIX, so we can't use $( ... ) command substitutions.

bin/package,
src/cmd/INIT/package.sh:
- Change a POSIX command substitution to old-style backticks.
This commit is contained in:
Martijn Dekker 2020-08-20 22:47:51 +01:00
parent 9ba2c2e0df
commit 52dc071a56
2 changed files with 2 additions and 2 deletions

View file

@ -2401,7 +2401,7 @@ int main()
esac esac
case $lhs in case $lhs in
bsdi) lhs=bsd ;; bsdi) lhs=bsd ;;
darwin) case $(/usr/bin/cc --version) in darwin) case `/usr/bin/cc --version` in
*'(GCC)'*) case $rel in *'(GCC)'*) case $rel in
[0-9].*|10.*) lhs=darwin07 ;; [0-9].*|10.*) lhs=darwin07 ;;
*) lhs=darwin11 ;; *) lhs=darwin11 ;;

View file

@ -2400,7 +2400,7 @@ int main()
esac esac
case $lhs in case $lhs in
bsdi) lhs=bsd ;; bsdi) lhs=bsd ;;
darwin) case $(/usr/bin/cc --version) in darwin) case `/usr/bin/cc --version` in
*'(GCC)'*) case $rel in *'(GCC)'*) case $rel in
[0-9].*|10.*) lhs=darwin07 ;; [0-9].*|10.*) lhs=darwin07 ;;
*) lhs=darwin11 ;; *) lhs=darwin11 ;;