mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 11:09:27 +02:00
* fixed in case fpc is installed under a path containing spaces
git-svn-id: trunk@14524 -
This commit is contained in:
parent
42ae8bf971
commit
407d60f8a4
@ -47,10 +47,10 @@ else
|
||||
fi
|
||||
FPCBIN=`dirname "$1"`/../../bin/fpc
|
||||
FPBIN=`dirname "$1"`/../../bin/fp
|
||||
sysfpdirbase=`dirname "$1"`/`$FPCBIN -iV`
|
||||
sysfpdirbase=`dirname "$1"`/`"$FPCBIN" -iV`
|
||||
sysfpdirbase2=$sysfpdirbase/ide
|
||||
sysfpdir=$sysfpdirbase2/text
|
||||
fpctargetos=`$FPCBIN -iTO`
|
||||
fpctargetos=`"$FPCBIN" -iTO`
|
||||
|
||||
# Detect if we have write permission in sysdir.
|
||||
if [ -w "$sysdir" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user