Skip to content

Commit 077ccc2

Browse files
committed
Improve user experience
1 parent a65a571 commit 077ccc2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chroot/chroot_build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
set -ex
44

5+
if [ -z "${ARCHITECTURE}" ]; then
6+
echo "Usage: env ARCHITECTURE=<arch> $0"
7+
exit 2
8+
fi
9+
510
# build in a temporary directory
611
# this makes sure that subsequent runs do not influence each other
712
# also makes cleaning up easier: just dump the entire directory

0 commit comments

Comments
 (0)