mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 17:52:20 +00:00
fix(hack): format every shell script in hack
format.sh ran shfmt on hack/**/*.sh without enabling globstar, so ** only matched a single directory. Scripts directly in hack and in deeper directories like hack/dev/kernel were never formatted.
This commit is contained in:
1 parent
2b8113f103
commit
406ad8dede
1 file changed
+2
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
# Without globstar, ** matches like *, so only scripts one directory deep are formatted.
|
||||
shopt -s globstar
|
||||
|
||||
cd "$(dirname "${0}")/.." || exit 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user