diff options
-rwxr-xr-x | fullpkg-ng | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -25,6 +25,7 @@ function usage { echo " -d build_dir : use this dir to build. Defaults to mktemp." echo " -n : don't update pacman db." echo " -m max_level : check deps until this level" + echo " -r \"command\" : use this instead of $FULLBUILDCMD" # printf " -f pkgname : build even when a package has been built. " # printf " Use it as many times as needed\n" echo @@ -182,8 +183,6 @@ while getopts 'ha:cd:l:nm:' arg; do case $arg in h) usage; exit 0 ;; a) ABSROOT="$OPTARG" ;; - # TODO: build only, require also build_dir - # b) build_only='y' c) check_deps_only='y' ;; # f) force_build+="-f pkgname " ;; d) build_dir="$OPTARG" ;; @@ -192,6 +191,7 @@ while getopts 'ha:cd:l:nm:' arg; do l) level=$OPTARG ;; n) noupdate='y';; m) max_level=$OPTARG ;; + r) FULLBUILDCMD="$OPTARG" ;; esac done @@ -326,7 +326,7 @@ pkgs=$(cat $build_dir/log | grep "unstaged:") && { plain "$(cat $build_dir/log | grep "unstaged:" | cut -d: -f2)" } -msg "All done" -plain "Check if your system works fine and librerelease if it does" +echo +msg2 "Check if your system works fine and librerelease if it does" exit 0
\ No newline at end of file |