diff options
author | he <he@pkgsrc.org> | 2015-10-29 22:12:04 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2015-10-29 22:12:04 +0000 |
commit | 9a98eb8a9022eb5fb7539a594c23d279f817b7ba (patch) | |
tree | b54ef02f9426ee13b8bc75daabf283f701fa8496 /mk | |
parent | d99cccfcb59af82a997a8f04c4b0b6ae4144cc18 (diff) | |
download | pkgsrc-9a98eb8a9022eb5fb7539a594c23d279f817b7ba.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')
-rw-r--r-- | mk/pbulk/pbulk.sh | 4 |
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 |