Skip to content

Commit

Permalink
Arches names fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vikulin committed Jan 17, 2023
1 parent 013cd61 commit a57d2f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/nas/nas-asustor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ if [ $PKGBRANCH = "master" ]; then
fi

if [ $PKGARCH = "x86-64" ]; then GOOS=linux GOARCH=amd64 ./build
elif [ $PKGARCH = "armv7" ]; then GOOS=linux GOARCH=arm GOARM=7 ./build
elif [ $PKGARCH = "arm" ]; then GOOS=linux GOARCH=arm GOARM=7 ./build
elif [ $PKGARCH = "arm64" ]; then GOOS=linux GOARCH=arm64 ./build
elif [ $PKGARCH = "x86" ]; then GOOS=linux GOARCH=386 ./build
elif [ $PKGARCH = "i386" ]; then GOOS=linux GOARCH=386 ./build
else
echo "Specify PKGARCH=x86-64, armv7, arm64 or x86"
echo "Specify PKGARCH=x86-64, arm, arm64 or i386"
exit 1
fi

Expand Down

0 comments on commit a57d2f0

Please sign in to comment.