mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-04-20 03:06:26 +02:00
cleanup
This commit is contained in:
parent
3a606c50fc
commit
abc8043045
10
debian/create-packages.sh
vendored
10
debian/create-packages.sh
vendored
@ -10,8 +10,8 @@ mkdir -p ${DOWNLOAD}/
|
||||
|
||||
# architecture mapping array linux <-> rust
|
||||
declare -A ARCHES_LR=(
|
||||
["armv7"]=armv7-unknown-linux-gnueabihf
|
||||
["aarch64"]=aarch64-unknown-linux-gnu
|
||||
#["armv7"]=armv7-unknown-linux-gnueabihf
|
||||
#["aarch64"]=aarch64-unknown-linux-gnu
|
||||
["amd64"]=x86_64-unknown-linux-gnu
|
||||
)
|
||||
|
||||
@ -44,6 +44,12 @@ BFFHV=$(grep "Standards-Version: " fabaccess-bffh-src/debian/control | awk -F '
|
||||
echo -e "BFFH target build version: ${BFFHV}"
|
||||
echo -e "BFFH packages (*.deb/*.rpm) will be put here: ${DOWNLOAD}"
|
||||
|
||||
# pre-cleanup of files of possibly existing previous builds
|
||||
rm /tmp/fabaccess-bffh* > /dev/null 2>&1
|
||||
rm ${SRCDIR}/fabaccess-bffh* > /dev/null 2>&1
|
||||
rm -rf /tmp/fabaccess-bffh-${BFFHV}/ > /dev/null 2>&1
|
||||
rm -rf ${SRCDIR}/fabaccess-bffh-${BFFHV}/ > /dev/null 2>&1
|
||||
|
||||
# https://www.cyberciti.biz/faq/bash-for-loop-array/
|
||||
for ARCH_L in "${!ARCHES_LR[@]}"; do
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user