summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfullpkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/fullpkg b/fullpkg
index 22ef39a..6e9ea19 100755
--- a/fullpkg
+++ b/fullpkg
@@ -377,7 +377,6 @@ while getopts 'ha:b:cCd:l:nm:r:o' arg; do
};;
c) check_deps_only='y' ;;
C) do_cleanup='y';;
- # f) force_build+="-f pkgname " ;;
d) build_dir="$OPTARG" ;;
# hidden option to know what to build first.
# if $level > 0 it will not build
@@ -413,11 +412,11 @@ fi
OFFLINE=true
}
-
# Only on level 0
if [ $level -eq 0 ]; then
# if build_dir exist use it, else make a build_dir
build_dir=${build_dir:-$(mktemp -d /tmp/fullpkg.XXXXXX)}
+ mkdir -p ${build_dir} # in case of -d option
# make files for log and buildorder
touch ${build_dir}/{log,BUILDORDER}