summaryrefslogtreecommitdiff
path: root/new-tag
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-09-07 11:58:23 +0200
committerdakkar <dakkar@thenautilus.net>2009-09-07 11:58:23 +0200
commit772349cd4aa9f92080e26ffcdf8acb33312cc723 (patch)
tree24d48c77018b0425b4b309b009c5d29058acc277 /new-tag
parentfix spacing in translation (diff)
downloadthenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.tar.gz
thenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.tar.bz2
thenautilus-772349cd4aa9f92080e26ffcdf8acb33312cc723.zip
bash programmable completion for new-* scripts
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