Fix the variables in bash compare function been replaced and if their empty then the syntax is invalid.
Changes
This change is desinged by parker.
with regex it check if a variable if is in between [[ ]] and if it is replace it with a placeholder. This is needed as Sometimes a variable is used in a compare function and outside of it.
then it does a find and replace off all variables what now the placeholder ofc does not match anymore
then replace the placeholders back with their original ${} form
Go told me to run some command about a specifc package as it is directly used in a wings file.
Testing
This was tested on the generic nodejs egg what was known for having issues.
Description
Fix the variables in bash compare function been replaced and if their empty then the syntax is invalid.
Changes
This change is desinged by parker.
Go told me to run some command about a specifc package as it is directly used in a wings file.
Testing
This was tested on the generic nodejs egg what was known for having issues.