Read Clojure filetypes from $FILE_TYPE, not $FILE

This commit is contained in:
Søren Knudsen 2020-06-29 09:07:40 +02:00
parent 2b189bf16f
commit a4fa97234a

View file

@ -1695,7 +1695,7 @@ BuildFileList()
# Set the READ_ONLY_CHANGE_FLAG since this could be exec # # Set the READ_ONLY_CHANGE_FLAG since this could be exec #
########################################################## ##########################################################
READ_ONLY_CHANGE_FLAG=1 READ_ONLY_CHANGE_FLAG=1
elif [ "$FILE" == "clj" ] || [ "$FILE" == "cljs" ] || [ "$FILE" == "cljc" ] || [ "$FILE" == "edn" ]; then elif [ "$FILE_TYPE" == "clj" ] || [ "$FILE_TYPE" == "cljs" ] || [ "$FILE_TYPE" == "cljc" ] || [ "$FILE_TYPE" == "edn" ]; then
################################ ################################
# Append the file to the array # # Append the file to the array #
################################ ################################