Skip to content

Commit

Permalink
Fix more issues identified through shellcheck
Browse files Browse the repository at this point in the history
Merge pull request #355 from a1346054/master
  • Loading branch information
inkarkat authored Dec 28, 2024
2 parents 4129dad + 564ed33 commit ca1efb7
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 206 deletions.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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
Expand Up @@ -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

0 comments on commit ca1efb7

Please sign in to comment.