mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-11 09:39:35 +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
|
fi
|
||||||
FPCBIN=`dirname "$1"`/../../bin/fpc
|
FPCBIN=`dirname "$1"`/../../bin/fpc
|
||||||
FPBIN=`dirname "$1"`/../../bin/fp
|
FPBIN=`dirname "$1"`/../../bin/fp
|
||||||
sysfpdirbase=`dirname "$1"`/`$FPCBIN -iV`
|
sysfpdirbase=`dirname "$1"`/`"$FPCBIN" -iV`
|
||||||
sysfpdirbase2=$sysfpdirbase/ide
|
sysfpdirbase2=$sysfpdirbase/ide
|
||||||
sysfpdir=$sysfpdirbase2/text
|
sysfpdir=$sysfpdirbase2/text
|
||||||
fpctargetos=`$FPCBIN -iTO`
|
fpctargetos=`"$FPCBIN" -iTO`
|
||||||
|
|
||||||
# Detect if we have write permission in sysdir.
|
# Detect if we have write permission in sysdir.
|
||||||
if [ -w "$sysdir" ] ; then
|
if [ -w "$sysdir" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user