Skip to content

Commit

Permalink
[harbour-storeman-installer.spec] Fix missing $ for variable evalua…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Olf0 authored Nov 24, 2024
1 parent f8868ee commit 3ffb000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpm/harbour-storeman-installer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ source %{_sysconfdir}/os-release
# might be advisable, when using it inside a %%define statement's `%%()` ).
sailfish_version="$(echo "$VERSION_ID" | cut -s -f 1-3 -d '.' | tr -d '.')"
# sailfish_version must be an all numerical string of at least three digits:
if ! echo "sailfish_version" | grep -q '^[0-9][0-9][0-9][0-9]*$'
if ! echo "$sailfish_version" | grep -q '^[0-9][0-9][0-9][0-9]*$'
then echo "Error: VERSION_ID=$VERSION_ID => sailfish_version=$sailfish_version" >&2
else
# Ensure that the repo config is correct: If it is missing or a fixed
Expand Down

0 comments on commit 3ffb000

Please sign in to comment.