mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:03:36 +03:00
use process id in build directory name to do better
This commit is contained in:
parent
49bc4567bb
commit
aba51d6b60
1 changed files with 6 additions and 4 deletions
10
testcurl.sh
10
testcurl.sh
|
|
@ -71,11 +71,13 @@ else
|
|||
die
|
||||
fi
|
||||
|
||||
build="build-$$"
|
||||
|
||||
# remove any previous left-overs
|
||||
rm -rf build
|
||||
rm -rf $build
|
||||
|
||||
# create a dir to build in
|
||||
mkdir build
|
||||
mkdir $build
|
||||
|
||||
# get in the curl source tree root
|
||||
cd curl
|
||||
|
|
@ -99,7 +101,7 @@ else
|
|||
fi
|
||||
|
||||
# change to build dir
|
||||
cd ../build
|
||||
cd "../$build"
|
||||
|
||||
# run configure script
|
||||
../curl/configure $1 2>&1
|
||||
|
|
@ -134,6 +136,6 @@ fi
|
|||
cd ..
|
||||
|
||||
# delete build dir
|
||||
rm -rf build
|
||||
rm -rf "$build"
|
||||
|
||||
die
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue