mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
* Do not create a backup, fpcmkcfg does this already
git-svn-id: trunk@17183 -
This commit is contained in:
parent
7b07c2906a
commit
6fa6151bef
@ -71,38 +71,6 @@ if [ -f "$FPBIN" ] ; then
|
||||
fi
|
||||
#
|
||||
|
||||
if [ -f "$fpccfgfile" ] ; then
|
||||
mv "$fpccfgfile" "$fpccfgfile.orig" >/dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
echo Saved old compiler config to $fpccfgfile.orig
|
||||
else
|
||||
echo Could not save old compiler config. Bailing out...
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f "$FPBIN" ] ; then
|
||||
if [ -f "$fpinifile" ] ; then
|
||||
mv "$fpinifile" "$fpinifile.orig" >/dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
echo Saved old fp.ini to $fpinifile.orig
|
||||
else
|
||||
echo Could not save old fp.ini. Bailing out...
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -f "$fpcfgfile" ] ; then
|
||||
mv "$fpcfgfile" "$fpcfgfile.orig" >/dev/null 2>&1
|
||||
if [ $? = 0 ]; then
|
||||
echo Saved old fp.cfg to $fpcfgfile.orig
|
||||
else
|
||||
echo Could not save old fp.cfg. Bailing out...
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# set right path to FPC with $fpcversion
|
||||
FPCPATH=`dirname "$1"`/\$fpcversion
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user