mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
shell
shell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user