Skip to content

Commit

Permalink
Remove "VERSION=" from version extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschmelzle authored Jan 30, 2025
1 parent 7f1ceed commit 307f737
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
wlanpi-common (1.1.28) unstable; urgency=medium
wlanpi-common (1.1.28-1) unstable; urgency=medium

* avahi changes from Ben

Expand Down
2 changes: 1 addition & 1 deletion opt/wlanpi-common/wlanpi-avahi-service-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ -z "$MODEL" ]; then
exit 1
fi

if ! VERSION=$(cat "$WLANPI_RELEASE_FILE"); then
if ! VERSION=$(sed 's/^VERSION=//' "$WLANPI_RELEASE_FILE"); then
echo "Error: Failed to read version file" >&2
exit 1
fi
Expand Down

0 comments on commit 307f737

Please sign in to comment.