diff --git a/configs/process_configs.sh b/configs/process_configs.sh index c90b4e171..a2ec3acb0 100755 --- a/configs/process_configs.sh +++ b/configs/process_configs.sh @@ -16,9 +16,9 @@ switch_to_toplevel() path="$(pwd)" while test -n "$path" do - test -e $path/MAINTAINERS && \ - test -d $path/drivers && \ - break + test -e $path/MAINTAINERS && \ + test -d $path/drivers && \ + break path="$(dirname $path)" done