aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-09-26 18:54:59 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-09-26 18:54:59 +0200
commit97a336413fcb2e93156b207096a1a6efd8918814 (patch)
tree9480330be4ff1f66eaa13674c6a26a1ae25f1716
parentbreakpad: use absolute paths in build.sh (diff)
downloadsmolbote-97a336413fcb2e93156b207096a1a6efd8918814.tar.xz
breakpad: keep all build artifacts
-rwxr-xr-x3rd-party/breakpad/build.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/3rd-party/breakpad/build.sh b/3rd-party/breakpad/build.sh
index 83c1181..5e9b1e3 100755
--- a/3rd-party/breakpad/build.sh
+++ b/3rd-party/breakpad/build.sh
@@ -7,18 +7,15 @@ fi
buildpath=$(pwd)/build
if [ ! -d $buildpath ]; then
- rm -r $buildpath
+ mkdir $buildpath
fi
installpath=$(pwd)/install
if [ ! -d $installpath ]; then
- rm -r $installpath
+ mkdir $installpath
fi
-mkdir -p $installpath
-mkdir $buildpath && cd $buildpath
-
+cd $buildpath
../breakpad.git/configure --prefix=$installpath
make -j 2
make install
-rm -r $buildpath