summaryrefslogtreecommitdiff
path: root/new-tag
diff options
context:
space:
mode:
Diffstat (limited to 'new-tag')
-rwxr-xr-xnew-tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/new-tag b/new-tag
index e8b03db..6b999a8 100755
--- a/new-tag
+++ b/new-tag
@@ -23,7 +23,7 @@ now="$(TZ=UTC date +'%F %T')"
langs="${LANGS:-en it}"
for tag in "$@"; do
-
+ tag="${tag%/}"
if [[ -d "$tag" ]]; then
>&2 echo "tag \"$tag\" already exists"
else