diff --git a/fmt-my-stuff b/fmt-my-stuff index 8fc08d33b..e609c908f 100755 --- a/fmt-my-stuff +++ b/fmt-my-stuff @@ -9,4 +9,4 @@ fi BASE="$(readlink -f "$0" 2>/dev/null || python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")" BASE="$(dirname "$BASE")" -grep -lr $1 $BASE/data/ | while read line; do utils/schema-check/dn42-schema.py fmt -i $line; done +grep -lr $1 "$BASE/data/" | while read line; do utils/schema-check/dn42-schema.py fmt -i "$line"; done