summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-03-18 11:24:42 +0000
committerjperkin <jperkin>2013-03-18 11:24:42 +0000
commit6998531ed4ed2bb0cb72913ba16d520295b5a25d (patch)
tree3024c1827f5db929de05756d0d923012804bd6d1 /pkgtools
parentaae96a9976df3c078f203ce0f0800bbe909cd34d (diff)
downloadpkgsrc-6998531ed4ed2bb0cb72913ba16d520295b5a25d.tar.gz
Use `` instead of $(), fixes bootstrap on older SunOS versions which have
the legacy /bin/sh. Fix from asau.
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/bootstrap-mk-files/files/bootstrap.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/bootstrap.sh b/pkgtools/bootstrap-mk-files/files/bootstrap.sh
index d9a02f19920..aa95d22e55c 100755
--- a/pkgtools/bootstrap-mk-files/files/bootstrap.sh
+++ b/pkgtools/bootstrap-mk-files/files/bootstrap.sh
@@ -14,9 +14,9 @@
: ${CP:=cp}
: ${SED:=sed}
-: ${OPSYS:=$(uname)}
-: ${ROOT_USER:=$(id -un 0)}
-: ${ROOT_GROUP:=$(id -gn "${ROOT_USER}")}
+: ${OPSYS:=`uname`}
+: ${ROOT_USER:=`id -un 0`}
+: ${ROOT_GROUP:=`id -gn "${ROOT_USER}"`}
: ${MK_DST:=/usr/local/share/mk}
: ${SYSCONFDIR:=/usr/local/etc}