Skip to content

Commit

Permalink
packaging: fix indentation in scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Oct 21, 2024
1 parent 8cb646a commit 0cc40f6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions packaging/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ fi

case "${1}" in
"x86_64"|"amd64")
ARCH="amd64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-x64/evebox"
;;
ARCH="amd64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-x64/evebox"
;;
"arm64")
ARCH="arm64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-arm64/evebox"
;;
ARCH="arm64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-arm64/evebox"
;;
"arm")
ARCH="armhf"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-arm/evebox"
;;
ARCH="armhf"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-arm/evebox"
;;
*)
echo "error: invalid ARCH"
exit 1
echo "error: invalid ARCH"
exit 1
esac

if [ "${VERSION_SUFFIX}" ]; then
Expand Down
10 changes: 5 additions & 5 deletions packaging/build-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ fi

case "${1}" in
"x86_64"|"amd64")
ARCH="x86_64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-x64/evebox"
;;
ARCH="x86_64"
BIN="./dist/evebox-${BIN_SRC_VER}-linux-x64/evebox"
;;
*)
echo "error: invalid ARCH"
exit 1
echo "error: invalid ARCH"
exit 1
esac

if [ "${VERSION_SUFFIX}" ]; then
Expand Down

0 comments on commit 0cc40f6

Please sign in to comment.