Ver código fonte

Alternate location for lazarus dir

Fixes issue 1229


git-svn-id: http://svn.dmdirc.com/trunk@4033 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16 anos atrás
pai
commit
1e9c15cc3c
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3
    0
      installer/windows/makeInstallerWindows.sh

+ 3
- 0
installer/windows/makeInstallerWindows.sh Ver arquivo

@@ -267,6 +267,9 @@ fi;
267 267
 DELETEFILES=${FILES}
268 268
 FPC=`which fpc`
269 269
 lazarusDir="/usr/share/lazarus"
270
+if [ -e "${lazarusDir}/lcl" ]; then
271
+	lazarusDir="/usr/lib/lazarus/"
272
+fi;
270 273
 compilerFlags="-Sd -Twin32 ${compilerFlags}";
271 274
 if [ ! -e "Setup.exe"  -o "${compileSetup}" = "true" ]; then
272 275
 	echo "Setup.exe does not exist. Lets try and compile it."

Carregando…
Cancelar
Salvar