bugfix moviedir set routine

This commit is contained in:
2019-05-12 00:29:37 +02:00
parent ad243b61fe
commit ffb1b34d5e
2 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ fi
#get options & args
readonly mode=$(echo $1 | tr -d '-')
[ -n "$1" ] && moviedir="$1"
[ -n "$1" ] && [ -d "$1" ] && moviedir="$1"
readonly DATE=$(date '+%Y-%m-%d')
#help function