diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-12-18 17:55:10 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-12-18 17:55:10 -0300 |
commit | cccba27ea8ec823a9768ba2cd944edab53697bb1 (patch) | |
tree | 6f5a367807d3a2e3a1a58deccbb576857aa49ce9 /librerepkg | |
parent | 7e8764fb315b05068fe9d704734a2a4ec8588e54 (diff) | |
parent | 54ba056b200a5ef141f8d589a2f45478c6bd8a6b (diff) |
Merge branch 'master' of ssh://gparabola/libretools
Diffstat (limited to 'librerepkg')
-rwxr-xr-x | librerepkg | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -36,7 +36,7 @@ source rePKGBUILD usage() { echo "cd to a dir with a rePKGBUILD and other file info and run" - echo "$0 " + echo "$0 [makepkg flags]" echo echo "This script will repackage an arch package without compiling" } @@ -44,6 +44,7 @@ usage() { while getopts 'h' arg; do case $arg in h) usage; exit 0 ;; + *) makepkgflags=$@ ;; esac done @@ -58,6 +59,6 @@ msg2 "Updating md5sums" makepkg -gp rePKGBUILD >> rePKGBUILD msg "Repackaging using makepkg" -makepkg -Lcdp rePKGBUILD $@ +makepkg -Lcdp rePKGBUILD ${makepkgflags} stdnull popd ${tempdir} |