From aee63af7b1b98387288d842be66a1dca007bed27 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 26 Sep 2018 18:39:41 +0200 Subject: breakpad: use absolute paths in build.sh --- 3rd-party/breakpad/build.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to '3rd-party/breakpad') diff --git a/3rd-party/breakpad/build.sh b/3rd-party/breakpad/build.sh index 0d8d306..83c1181 100755 --- a/3rd-party/breakpad/build.sh +++ b/3rd-party/breakpad/build.sh @@ -5,12 +5,20 @@ if [ ! -f breakpad.git/src/third_party/lss/linux_syscall_support.h ]; then curl -L https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h?format=TEXT | base64 --decode > breakpad.git/src/third_party/lss/linux_syscall_support.h fi +buildpath=$(pwd)/build +if [ ! -d $buildpath ]; then + rm -r $buildpath +fi + installpath=$(pwd)/install -rm -r $installpath +if [ ! -d $installpath ]; then + rm -r $installpath +fi + mkdir -p $installpath -mkdir build && cd build +mkdir $buildpath && cd $buildpath ../breakpad.git/configure --prefix=$installpath make -j 2 make install -rm -r build +rm -r $buildpath -- cgit v1.2.1