diff options
author | teor <teor@torproject.org> | 2019-10-28 13:28:50 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-10-28 13:28:50 +1000 |
commit | 3479024cb1034dd453fed577b493cbe5515765d3 (patch) | |
tree | b9735780e7043fc19e9f5b6ea066f0cb03688c04 /scripts/coccinelle | |
parent | 18e09913bf23253645404612726983c5c43e19cc (diff) | |
download | tor-3479024cb1034dd453fed577b493cbe5515765d3.tar.gz tor-3479024cb1034dd453fed577b493cbe5515765d3.zip |
scripts: Change to the top source directory as needed
Bugfix on 31919; not in any released version of tor.
Diffstat (limited to 'scripts/coccinelle')
-rwxr-xr-x | scripts/coccinelle/check_cocci_parse.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/coccinelle/check_cocci_parse.sh b/scripts/coccinelle/check_cocci_parse.sh index 5c27c7bc88..220b405940 100755 --- a/scripts/coccinelle/check_cocci_parse.sh +++ b/scripts/coccinelle/check_cocci_parse.sh @@ -30,6 +30,7 @@ if test $# -ge 1 ; then "$try_parse" "$@" exitcode=$? else + cd "$top" || exit 1 # This is the layout in 0.3.5 "$try_parse" \ src/lib/*/*.[ch] \ |