mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:09:27 +02:00
* fixed fpc detection
This commit is contained in:
parent
fc70da304e
commit
9739ba710b
@ -217,9 +217,9 @@ do
|
|||||||
|
|
||||||
# cross install?
|
# cross install?
|
||||||
if [ cross != '' ]; then
|
if [ cross != '' ]; then
|
||||||
if [ `which fpc` = '' ]; then
|
if [ "`which fpc 2>/dev/null`" = '' ]; then
|
||||||
echo "No native FPC found."
|
echo "No native FPC found."
|
||||||
echo "For a proper installation of a cross FPC the installation of a native FPC is required"
|
echo "For a proper installation of a cross FPC the installation of a native FPC is required."
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
if [ `fpc -iV` != $VERSION ]; then
|
if [ `fpc -iV` != $VERSION ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user