diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-12-20 21:54:15 -0600 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-12-20 21:54:15 -0600 |
commit | 6a56fa9179e7ce08b5bbaf4407c0d1a10aabde08 (patch) | |
tree | edf1ad5f14e8362dc25f998ca35935f2370960ec /librerepkg | |
parent | 5f1ef1bd95e2aa1d5b596d929e12e55e8f00f3d2 (diff) | |
parent | cccba27ea8ec823a9768ba2cd944edab53697bb1 (diff) |
Merge branch 'master' of gitpar: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} |