summaryrefslogtreecommitdiff
path: root/mk/pbulk
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2015-10-29 22:12:04 +0000
committerhe <he@pkgsrc.org>2015-10-29 22:12:04 +0000
commitaa447412cc8021b424da744c64e4a665f3ff2ab0 (patch)
treeb54ef02f9426ee13b8bc75daabf283f701fa8496 /mk/pbulk
parent4f3e7df626908284566bfcad114cb1f175b3376c (diff)
downloadpkgsrc-aa447412cc8021b424da744c64e4a665f3ff2ab0.tar.gz
Make sure the pbulk user is created with /bin/sh as shell,
at least on NetBSD. Trying to build with /bin/csh as login shell leads to a rather cryptic "Illegal variable name" error message for all bulk-built packages.
Diffstat (limited to 'mk/pbulk')
-rw-r--r--mk/pbulk/pbulk.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pbulk/pbulk.sh b/mk/pbulk/pbulk.sh
index 6e12c73c235..68d7c98c539 100644
--- a/mk/pbulk/pbulk.sh
+++ b/mk/pbulk/pbulk.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: pbulk.sh,v 1.1 2014/07/15 21:29:38 asau Exp $
+# $Id: pbulk.sh,v 1.2 2015/10/29 22:12:04 he Exp $
set -e
usage="usage: ${0##*/} [-lun] [-c mk.conf.fragment] [-d nodes]"
@@ -44,7 +44,7 @@ fi
if [ ! -n "$unprivileged" ]; then
case "$(uname)" in
NetBSD)
-if ! id pbulk; then user add -m -g users pbulk; fi
+if ! id pbulk; then user add -m -g users pbulk -s /bin/sh; fi
;;
FreeBSD)
if ! id pbulk; then