Skip to content

Commit cf59f4d

Browse files
committed
unor4wifi-update: allow to configure version string as parameter
1 parent 4d605b1 commit cf59f4d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

unor4wifi-updater/package.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,12 @@ function package_macos() {
5555

5656
}
5757

58-
VERSION="0.5.0"
58+
if [ -z "$1" ]; then
59+
echo "No argument supplied"
60+
exit 1
61+
fi
62+
63+
VERSION=$1
5964

6065
# Cleanup before starting
6166
rm -rf unor4wifi-update-linux*

0 commit comments

Comments
 (0)