From ebb17883a1869d3276ef2b28189d514aa6845565 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Thu, 9 Jan 2020 00:04:37 +0100 Subject: [PATCH] local only within functions --- piwisync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 piwisync.sh 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