Skip to content

Commit 6bba4ab

Browse files
Work across repos
Use the path of the containing repository of the current path, not the one the script is downloaded into
1 parent 5fef841 commit 6bba4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
script_folder=`dirname $0`
6-
absolute_repository_root=`readlink -f $script_folder/..`
6+
absolute_repository_root=`git rev-parse --show-toplevel`
77

88
if [[ "$#" -gt 2 ]]
99
then

0 commit comments

Comments
 (0)