mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 21:38:00 +02:00
deb: using TEMP env var
git-svn-id: trunk@18725 -
This commit is contained in:
parent
5d5d1fd0fe
commit
4e92190a96
@ -8,6 +8,12 @@ set -e
|
||||
#------------------------------------------------------------------------------
|
||||
Usage="Usage: [OS_TARGET=xxx] [CPU_TARGET=xxx] [BINUTILSPREFIX=xxx] $0 fpc|fpc-src [notemp] <FPCSrcDir> [release]"
|
||||
|
||||
TmpDir=$TEMP
|
||||
if [ -z "$TmpDir" ]; then
|
||||
TmpDir=~/tmp
|
||||
fi
|
||||
TmpDir=$TmpDir/fpc_patchdir
|
||||
|
||||
# what package should be built ...
|
||||
PackageName=""
|
||||
if [ "$1" = fpc ]; then
|
||||
@ -154,7 +160,6 @@ fi
|
||||
#------------------------------------------------------------------------------
|
||||
# create a temporary copy of the fpc sources to patch it
|
||||
|
||||
TmpDir=~/tmp/fpc_patchdir
|
||||
if [ "$WithTempDir" = "yes" ]; then
|
||||
if [ -d $TmpDir ]; then
|
||||
rm -rf $TmpDir
|
||||
|
Loading…
Reference in New Issue
Block a user