Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix more issues identified through shellcheck #355

Merged
merged 22 commits into from
Dec 28, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
**What is the expected behavior?**


**Which versions todo.sh are you using?**
**Which version of todo.sh are you using?**
> Run `todo.sh -V`


@@ -19,4 +19,3 @@

**Which version of bash are you using?**
> Run `bash --version`

6 changes: 3 additions & 3 deletions GEN-VERSION-FILE
Original file line number Diff line number Diff line change
@@ -14,13 +14,13 @@ fi

VN=$(expr "$VN" : v*'\(.*\)')

if test -r $VF
if test -r "$VF"
then
VC=$(sed -e 's/^VERSION=//' <$VF)
VC=$(sed -e 's/^VERSION=//' <"$VF")
else
VC=unset
fi
test "$VN" = "$VC" || {
echo >&2 "VERSION=$VN"
echo "VERSION=$VN" >$VF
echo "VERSION=$VN" >"$VF"
}
Loading