From: Bart Van Assche Date: Tue, 17 Jun 2008 18:31:12 +0000 (+0000) Subject: Make sure the splash2 binaries are always built in the same location (exp-drd/splash2). X-Git-Tag: svn/VALGRIND_3_4_0~463 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a3cfea0563f61c1f99f21c7ab3e9f919917ef18;p=thirdparty%2Fvalgrind.git Make sure the splash2 binaries are always built in the same location (exp-drd/splash2). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8245 --- diff --git a/exp-drd/scripts/download-and-build-splash2 b/exp-drd/scripts/download-and-build-splash2 index 4de0095abf..104595c71f 100755 --- a/exp-drd/scripts/download-and-build-splash2 +++ b/exp-drd/scripts/download-and-build-splash2 @@ -11,6 +11,8 @@ export LC_ALL=C mkdir -p "${downloads}" +cd "$(dirname $0)/.." + if [ -e splash2 ]; then echo "Error: a directory with the name splash2 already exists. Please" echo "remove it before running this script, or run this script in another"