summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcopyPhotos3
1 files changed, 2 insertions, 1 deletions
diff --git a/copyPhotos b/copyPhotos
index 71be2de..6f00e92 100755
--- a/copyPhotos
+++ b/copyPhotos
@@ -249,7 +249,7 @@ do
do
read -p 'Dieses Bild für '"${wen}"' hochladen (j/y/n)? ' was
done
- [[ "${ec[0]}" == *"${was}"* ]] && \
+ if [[ "${ec[0]}" == *"${was}"* ]]; then
wen_roh=$(
printf '%s\n' "${wen}" \
| tr ', ' '\n' \
@@ -270,6 +270,7 @@ do
s@.*@ln "'"${wen_1}/${bild##*/}"'" "\0/'"${bild##*/}"'"@
'
)"
+ fi
;;
esac
done