summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2017-07-25 22:45:21 +0000
committersevan <sevan@pkgsrc.org>2017-07-25 22:45:21 +0000
commit45ee9173578642c0629e99e63ce8e5baf2ed0782 (patch)
treea350d249dfb1bff70b4e869e71b7d192a271aa7d
parentb3f8b34b7df940f8ce00bde5a513a1c459cc7025 (diff)
downloadpkgsrc-45ee9173578642c0629e99e63ce8e5baf2ed0782.tar.gz
Create the All packages sub directory.
This prevents the bulk build failing on the complition of the first package because the directory doesn't exist.
-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 56fc8bc62d8..29d13702d6e 100644
--- a/mk/pbulk/pbulk.sh
+++ b/mk/pbulk/pbulk.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: pbulk.sh,v 1.3 2015/12/14 21:12:01 asau Exp $
+# $Id: pbulk.sh,v 1.4 2017/07/25 22:45:21 sevan Exp $
set -e
usage="usage: ${0##*/} [-lun] [-c mk.conf.fragment] [-d nodes]"
@@ -194,7 +194,7 @@ fi
# Keep "packages" in pbulk.conf and "PACKAGES" in mk.conf fragment in sync.
# Final preparations:
-mkdir -p ${PACKAGES}
+mkdir -p ${PACKAGES}/All
if [ ! -n "$unprivileged" ]; then
chown pbulk:"$(id -gn pbulk)" ${PACKAGES}
fi