diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 00:44:39 -0500 |
commit | 7f118f53283d7e228c40a40076815ce94ebb94a7 (patch) | |
tree | e7b70c0f9f297edc42a1333b38e6e06357edcdd8 /librerepkg | |
parent | 0fa9894cbc10f0742c3076666524956f7279e8af (diff) |
Cleaned up some things, added option parse to some scripts.
Diffstat (limited to 'librerepkg')
-rwxr-xr-x | librerepkg | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -36,9 +36,17 @@ source rePKGBUILD usage() { echo "cd to a dir with a rePKGBUILD and other file info and run" - echo $0 + echo "$0 " + echo + echo "This script will repackage an arch package without compiling" } +while getopts 'h' arg; do + case $arg in + h) usage; exit 0 ;; + esac +done + stdnull "tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)" msg "Repackaging: $pkgname $pkgver-$pkgrel ($(date -u))" |