Skip to content
Snippets Groups Projects
Commit aba51d6b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

use process id in build directory name to do better

parent 49bc4567
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment