Skip to content

Commit fee4284

Browse files
committed
Fix argument parsing
1 parent c1767f5 commit fee4284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22

33
set -e
4-
set -x
54

65
if [ "$ARCH" == "" ]; then
76
echo 'Error: $ARCH is not set'
@@ -10,10 +9,11 @@ fi
109

1110
TARGET="$1"
1211
if [ "$TARGET" == "" ]; then
13-
echo 'Error: $TARGET is not set'
12+
echo 'Usage: $0 <target.AppImage>'
1413
exit 1
1514
fi
1615

16+
set -x
1717

1818
# use RAM disk if possible
1919
if [ "$CI" == "" ] && [ -d /dev/shm ]; then

0 commit comments

Comments
 (0)