summaryrefslogtreecommitdiff
path: root/mk/pbulk
diff options
context:
space:
mode:
authorhe <he>2015-10-29 22:12:04 +0000
committerhe <he>2015-10-29 22:12:04 +0000
commitc6cecc8c6055ba6bf58eba7ec8d1004cad09f555 (patch)
treeb54ef02f9426ee13b8bc75daabf283f701fa8496 /mk/pbulk
parent011884f2ba5cd446755329a5e2519c6a39924bec (diff)
downloadpkgsrc-c6cecc8c6055ba6bf58eba7ec8d1004cad09f555.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