summaryrefslogtreecommitdiff
path: root/bumpPkgrel
diff options
context:
space:
mode:
Diffstat (limited to 'bumpPkgrel')
-rwxr-xr-xbumpPkgrel8
1 files changed, 4 insertions, 4 deletions
diff --git a/bumpPkgrel b/bumpPkgrel
index 8d40c8e42..d7eb98964 100755
--- a/bumpPkgrel
+++ b/bumpPkgrel
@@ -39,15 +39,15 @@ while true; do
shift
done
+if [ $# -eq 0 ]; then
+ usage
+fi
+
if [ -z "${provided}" ]; then
provided=$("${0%/*}/liste-verfuegbare-Versionen")
trap 'rm -f "${provided}"' EXIT
fi
-if [ $# -eq 0 ]; then
- usage
-fi
-
pin_dependency() {
sed '
s/^\(\S\+\)>\?=\(\S\+\)$/\1 \2/