diff options
author | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 14:08:58 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernandez <hahj87@gmail.com> | 2011-05-26 14:08:58 -0500 |
commit | 70a50f72c79d234599c961c703ba1f373ac5478d (patch) | |
tree | fee999cbd88d5d0a6f64313e40f6de75cdf83c70 /fullpkg-ng | |
parent | 20c6c05f4f6df99000d839bf587bee05869be871 (diff) |
fullpkg-ng
* can use a command line passed FULLBUILDCMD
* buildonly can be instead be cd to the 0 level dep and -d
* cleanup final message
Diffstat (limited to 'fullpkg-ng')
-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 |