From 70a50f72c79d234599c961c703ba1f373ac5478d Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernandez Date: Thu, 26 May 2011 14:08:58 -0500 Subject: 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 --- fullpkg-ng | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fullpkg-ng b/fullpkg-ng index 3b54567..d186f58 100755 --- a/fullpkg-ng +++ b/fullpkg-ng @@ -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 -- cgit v1.2.3-2-g168b