mirror of
https://github.com/LCPQ/quantum_package
synced 2024-06-02 11:25:26 +02:00
16 lines
322 B
Bash
Executable File
16 lines
322 B
Bash
Executable File
#!/bin/bash -x
|
|
# This script should be included
|
|
|
|
BUILD=_build/${TARGET}
|
|
rm -rf -- ${BUILD}
|
|
mkdir ${BUILD} || exit 1
|
|
tar -zxf Downloads/${TARGET}.tar.gz --strip-components=1 --directory=${BUILD} || exit 1
|
|
_install
|
|
if [[ $? -ne 0 ]]
|
|
then
|
|
cat _build/${TARGET}.log
|
|
exit 1
|
|
fi
|
|
rm -rf -- ${BUILD} _build/${TARGET}.log
|
|
exit 0
|