call CreateFiles earlier

dev
Joe 3 years ago
parent 2e27fc6d15
commit 408af88fed
Signed by: joe
GPG Key ID: 8595A3F8F2CE1B74
  1. 3
      ysm.sh

@ -15,7 +15,7 @@ Configure() {
[path]="$HOME/.ysm"
[s_path]="$HOME/.ysess/*.ysess"
)
CreateFiles
while read line
do
if echo $line | grep -F = &>/dev/null
@ -23,7 +23,6 @@ Configure() {
varname=$(echo "$line" | cut -d '=' -f 1)
config[$varname]=$(echo "$line" | cut -d '=' -f 2-)
fi
CreateFiles
done < ${config[path]}/ysm.conf
}

Loading…
Cancel
Save