1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

install_libfilteraudio.sh: Exit on error

This commit is contained in:
tux3 2015-02-21 19:59:54 +01:00
parent 244d6daca8
commit a178e2e085
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -41,16 +41,16 @@ rm *.o
muhcmd="cp libfilteraudio.$EXT $BIN_DIR"
[ -z "$2" ] && muhcmd="sudo $muhcmd"
echo "Installing libfilteraudio.so with $muhcmd"
$muhcmd
$muhcmd || exit 1
muhcmd="cp libfilteraudio.$STATIC_EXT $LIB_DIR"
[ -z "$2" ] && muhcmd="sudo $muhcmd"
echo "Installing libfilteraudio.$STATIC_EXT with $muhcmd"
$muhcmd
$muhcmd || exit 1
muhcmd="cp *.h $INCLUDE_DIR"
[ -z "$2" ] && muhcmd="sudo $muhcmd"
echo "Installing include files with $muhcmd"
$muhcmd
$muhcmd || exit 1
echo "Finished."