fix duplicate /

This commit is contained in:
Matthias Mailänder
2013-11-16 12:03:31 +01:00
committed by ScottNZ
parent 2062a1bf9b
commit c257b3e74b

View File

@@ -371,7 +371,7 @@ install-tools: tools
@echo "#!/bin/sh" > openra-editor
@echo 'BINDIR=$$(dirname $$(readlink -f $$0))' >> openra-editor
@echo 'ROOTDIR="$${BINDIR%'"$(bindir)"'}"' >> openra-editor
@echo 'DATADIR="$${ROOTDIR}/'"$(datadir)"'"' >> openra-editor
@echo 'DATADIR="$${ROOTDIR}'"$(datadir)"'"' >> openra-editor
@echo 'cd "$${DATADIR}/openra"' >> openra-editor
@echo 'exec mono OpenRA.Editor.exe "$$@"' >> openra-editor
@$(INSTALL_DIR) "$(BIN_INSTALL_DIR)"