Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit f3b3df0

Browse files
author
Michael Hueschen
committed
Fix shellcheck complaints in update-cabal-versions.sh
1 parent 606cd0f commit f3b3df0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/haskell/update-cabal-versions.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ function updateVersion() {
1111
sed -E -i -e "s/^(version\\:\\s+)(.+)/\\1$newVersion/" "$1"
1212
}
1313

14-
for CB in `git ls-files '*/cardano-*.cabal'`; do
14+
for CB in $(git ls-files '*/cardano-*.cabal'); do
1515
echo " ${CB}"
16-
updateVersion ${CB}
16+
updateVersion "${CB}"
1717
done
1818

1919
echo "Updated to version $newVersion"

0 commit comments

Comments
 (0)