shell
This commit is contained in:
ItsSelis
2022-07-03 20:54:01 +02:00
parent a56821c5ce
commit e6f65f714d
+3 -3
View File
@@ -15,13 +15,13 @@ replace=${REPLACE}
# Messy map compile code
if grep -q '#include\ \"maps\\tether\\tether.dm\"' $BASENAME.dme && replace; then
sed -i 's/#include[[:space:]]\"maps\\tether\\tether.dm\"/#include\ \"maps\\${MAP}\\${MAP}.dm\"/g' $BASENAME.dme
replace = false
replace=false
elif grep -q '#include\ \"maps\\stellardelight\\stellardelight.dm\"' $BASENAME.dme && replace; then
sed -i 's/#include[[:space:]]\"maps\\stellardelight\\stellardelight.dm\"/#include\ \"maps\\${MAP}\\${MAP}.dm\"/g' $BASENAME.dme
replace = false
replace=false
elif grep -q '#include\ \"maps\\groundbase\\groundbase.dm\"' $BASENAME.dme && replace; then
sed -i 's/#include[[:space:]]\"maps\\groundbase\\groundbase.dm\"/#include\ \"maps\\${MAP}\\${MAP}.dm\"/g' $BASENAME.dme
replace = false
replace=false
fi
# Compile a copy of the codebase, and print errors as Github Actions annotations