This commit is contained in:
Lucas Gravley 2020-04-16 13:23:36 -05:00
parent 7616d271e1
commit e339a967c0

View file

@ -1229,7 +1229,7 @@ BuildFileList()
#################
# Check if bash #
#################
if [[ "$GET_FILE_TYPE_CMD" =~ *"Bourne-Again shell script"* ]]; then
if [[ "$GET_FILE_TYPE_CMD" == *"Bourne-Again shell script"* ]]; then
#######################
# It is a bash script #
#######################
@ -1243,7 +1243,7 @@ BuildFileList()
# Set the READ_ONLY_CHANGE_FLAG since this could be exec #
##########################################################
READ_ONLY_CHANGE_FLAG=1
elif [[ "$GET_FILE_TYPE_CMD" =~ *"Ruby script"* ]]; then
elif [[ "$GET_FILE_TYPE_CMD" == *"Ruby script"* ]]; then
#######################
# It is a Ruby script #
#######################