diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 10:47:29 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-05-16 10:47:29 -0500 |
commit | 254af17f2eb70468d4b1b5d385a2e8154b45ea87 (patch) | |
tree | 8b499c0ffa90935763fa4d6cff35a6930416b497 /librerelease | |
parent | 3b059a61e44fe0670b210b2f85ab1185c3102138 (diff) |
librerelease use c option for cleaning packages
Diffstat (limited to 'librerelease')
-rwxr-xr-x | librerelease | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librerelease b/librerelease index 1e323c3..1505098 100755 --- a/librerelease +++ b/librerelease @@ -33,7 +33,7 @@ function usage { echo "$(gettext "OPTIONS:")" echo "$(gettext " -h this message.")" echo "$(gettext " -l only list packages but not upload them.")" - echo "$(gettext " -c clean $WORKDIR/staging.")" + echo "$(gettext " -c clean packages on $WORKDIR/staging.")" } function list_packages { @@ -48,7 +48,7 @@ function clean_packages { find ${WORKDIR}/staging/ -iname "*.pkg.tar.*" -delete } -while getopts 'hl' arg; do +while getopts 'hlc' arg; do case $arg in h) usage; exit 0 ;; l) list_packages; exit 0 ;; |