summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-03-18 11:24:42 +0000
committerjperkin <jperkin@pkgsrc.org>2013-03-18 11:24:42 +0000
commit87dff69ed9723a1e6042f30c44408b5cabc24df0 (patch)
tree3024c1827f5db929de05756d0d923012804bd6d1 /pkgtools
parent690af558b87543fd9300ce71cb67917d0808594e (diff)
downloadpkgsrc-87dff69ed9723a1e6042f30c44408b5cabc24df0.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}