Skip to content

Commit

Permalink
Set architecture via command line in packaging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn committed Sep 30, 2023
1 parent 5c223b5 commit 5332733
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion rpm/build_rpm_almalinux9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ set -e
source ./cmdline.sh

IMAGE=audiowaveform_rpm
ARCH=x86_64

if [ -z "${ARCH}" ]
then
echo "Missing architecture (x86_64 or aarch64)"
exit 1
fi

set -x

Expand Down
7 changes: 6 additions & 1 deletion rpm/build_rpm_amazon_linux_2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ source ./cmdline.sh

IMAGE=audiowaveform_rpm
AMAZON_RELEASE=2
ARCH=x86_64

if [ -z "${ARCH}" ]
then
echo "Missing architecture (x86_64 or aarch64)"
exit 1
fi

set -x

Expand Down

0 comments on commit 5332733

Please sign in to comment.