diff --git a/piwisync.sh b/piwisync.sh old mode 100755 new mode 100644 index 5693ac1..626cdeb --- a/piwisync.sh +++ b/piwisync.sh @@ -19,7 +19,7 @@ fi subDir="$myyear/" thumbRoot="${piwiThumbRoot}/${subDir}" photoRoot="${piwiPhotoRoot}/${subDir}" -local yearRegex='[0-9]{4}' +yearRegex='[0-9]{4}' if [ ! -e ${thumbRoot} ] ; then if [ -w ${piwiThumbRoot} ] && [[ "$subDir" =~ $yearRegex ]] ; then