updated resource path references

pull/4/head
Hari Sekhon 1 year ago
parent 7dbb660cd3
commit d6bc6eae89

@ -31,7 +31,7 @@ progress_char='-'
[ -n "${DEBUG:-}" ] && progress_char=''
files_with_tabs=0
for filename in $(find "${1:-.}" -type f | grep -Evf "$srcdir/resources/whitespace_ignore.txt" -f "$srcdir/resources/tabs_ignore.txt" | sort); do
for filename in $(find "${1:-.}" -type f | grep -Evf "$srcdir/../resources/whitespace_ignore.txt" -f "$srcdir/../resources/tabs_ignore.txt" | sort); do
isExcluded "$filename" && continue
[[ "$filename" =~ .*/check_(no_tabs|whitespace).sh$|.terminal$ ]] && continue
printf "%s" "$progress_char"

@ -33,7 +33,7 @@ progress_char='-'
whitespace_only_files_found=0
trailing_whitespace_files_found=0
trailing_whitespace_bar_files_found=0
for filename in $(find "${1:-.}" -type f | grep -Evf "$srcdir/resources/whitespace_ignore.txt" | sort); do
for filename in $(find "${1:-.}" -type f | grep -Evf "$srcdir../resources/whitespace_ignore.txt" | sort); do
isExcluded "$filename" && continue
printf "%s" "$progress_char"
# [[:space:]] matches \r in Windows files which we don't want, use explicit character class instead to exclude \r

@ -37,7 +37,7 @@ usage_args="[<module1> <module2> ...]"
help_usage "$@"
mappings="$srcdir/resources/pipreqs_mapping.txt"
mappings="$srcdir../resources/pipreqs_mapping.txt"
if ! [ -f "$mappings" ]; then
wget -O "$mappings" https://raw.githubusercontent.com/bndr/pipreqs/master/pipreqs/mapping

@ -37,7 +37,7 @@ usage_args="[<module1> <module2> ...]"
help_usage "$@"
mappings="$srcdir/resources/pipreqs_mapping.txt"
mappings="$srcdir../resources/pipreqs_mapping.txt"
if ! [ -f "$mappings" ]; then
wget -O "$mappings" https://raw.githubusercontent.com/bndr/pipreqs/master/pipreqs/mapping

Loading…
Cancel
Save