diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-22 04:30:18 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-22 04:30:18 -0500 |
commit | bfc22659aff2cc2a2832b34b7f044146e5b86184 (patch) | |
tree | d65f7a7a1c52205f482ae9ac4565c77c458eda5f | |
parent | f54dd21db22dc09f72a67101f3d83d64c21fc404 (diff) |
fullpg make build_dir
-rwxr-xr-x | fullpkg | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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} |