diff --git a/hamdb b/hamdb old mode 100644 new mode 100755 index 6c19d18..9f62bfa --- a/hamdb +++ b/hamdb @@ -56,17 +56,17 @@ WGET_HEADER="Accept: text/html" WGET_USER_AGENT="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko)" # if today is Monday, get the full file, otherwise get a smaller daily update file -if [ ${DAY} == sun ]; then +if [ "${DAY}" == sun ]; then FULLIMPORT=1 else FULLIMPORT=0 fi -if [ ${1} == full ]; then +if [ "${1}" == "full" ]; then FULLIMPORT=1 fi -if [ ${1} == getfccfile ]; then +if [ "${1}" == "getfccfile" ]; then FULLIMPORT=1 fi