diff options
author | dakkar <dakkar@thenautilus.net> | 2009-08-20 12:58:52 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-08-20 12:58:52 +0200 |
commit | 3c31a5185b4513804c55443ad8f1af1744e870c6 (patch) | |
tree | bab4b136cc2801d7fa1c212158511ec56ec9f9cd /new-tag | |
parent | separate creation of tags from creation of docs (diff) | |
download | thenautilus-3c31a5185b4513804c55443ad8f1af1744e870c6.tar.gz thenautilus-3c31a5185b4513804c55443ad8f1af1744e870c6.tar.bz2 thenautilus-3c31a5185b4513804c55443ad8f1af1744e870c6.zip |
now it even works…
Diffstat (limited to 'new-tag')
-rwxr-xr-x | new-tag | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -23,7 +23,10 @@ now="$(TZ=UTC date +'%F %T')" langs="${LANGS:-en it}" for tag in "$@"; do - if [[ ! -d "$tag" ]]; then + + if [[ -d "$tag" ]]; then + >&2 echo "tag \"$tag\" already exists" + else mkdir -p "$tag" for lang in $langs; do { |