summaryrefslogtreecommitdiff
path: root/archrelease.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 01:57:39 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-16 01:57:39 -0400
commitfabc14e262414debb6bbd562e6a6a37afa2cce79 (patch)
treec569d6edad57db9692fec72383ccbb5687b1d76d /archrelease.in
parent06e3de14a9d82b456176c1966919e0bbd457da69 (diff)
parent8dbb02de4f50aeb05c5df2ef8d9c8cf394b4f9ac (diff)
Merge remote-tracking branch 'remotes/devtools/master'
Diffstat (limited to 'archrelease.in')
-rw-r--r--archrelease.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/archrelease.in b/archrelease.in
index 2e742c2..6f52dbc 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -8,8 +8,8 @@ FORCE=
while getopts ':f' flag; do
case $flag in
f) FORCE=1 ;;
- :) die "Option requires an argument -- '$OPTARG'" ;;
- \?) die "Invalid option -- '$OPTARG'" ;;
+ :) die "Option requires an argument -- '%s'" "$OPTARG" ;;
+ \?) die "Invalid option -- '%s'" "$OPTARG" ;;
esac
done
shift $(( OPTIND - 1 ))
@@ -23,7 +23,7 @@ fi
if [[ -z $FORCE ]]; then
for tag in "$@"; do
if ! in_array "$tag" "${_tags[@]}"; then
- die 'archrelease: Invalid tag: "'$tag'" (use -f to force release)'
+ die "archrelease: Invalid tag: '%s' (use -f to force release)" "$tag"
fi
done
fi