Provides automatic installation scripts for OpenRA with Tiberian Sun & Red Alert 2 + Dune 2 (Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
670 B

  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -427,9 +427,9 @@
  4. @echo 'cd "$(gameinstalldir)"' >> openra
  5. # Note: this relies on the non-standard -f flag implemented by gnu readlink
  6. ifeq ($(DEBUG), $(filter $(DEBUG),false no n off 0))
  7. - @echo 'mono OpenRA.Game.exe Engine.LaunchPath="$(readlink -f $0)" "$$@"' >> openra
  8. + @echo 'mono OpenRA.Game.exe Engine.LaunchPath="$$(readlink -f $$0)" "$$@"' >> openra
  9. else
  10. - @echo 'mono --debug OpenRA.Game.exe Engine.LaunchPath="$(readlink -f $0)" "$$@"' >> openra
  11. + @echo 'mono --debug OpenRA.Game.exe Engine.LaunchPath="$$(readlink -f $$0)" "$$@"' >> openra
  12. endif
  13. @echo 'if [ $$? != 0 -a $$? != 1 ]' >> openra
  14. @echo 'then' >> openra