diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-05-07 21:00:17 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2019-05-07 21:01:32 +0200 |
commit | 53ebc2e1e870d3a1a57b425f554162531ba66635 (patch) | |
tree | 48a9d8e3f7dc60cb0af6dfa8560f32dd31460725 /configs/process_configs.sh | |
parent | e4de46e4a321055136460422974dda8ac9aa31fc (diff) | |
parent | 2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18 (diff) | |
download | kernel-53ebc2e1e870d3a1a57b425f554162531ba66635.tar.gz kernel-53ebc2e1e870d3a1a57b425f554162531ba66635.tar.xz kernel-53ebc2e1e870d3a1a57b425f554162531ba66635.zip |
merge originkernel-5.2.0-0.rc0.git1.1.vanilla.knurd.1.fc31kernel-5.2.0-0.rc0.git1.1.vanilla.knurd.1.fc30kernel-5.2.0-0.rc0.git1.1.vanilla.knurd.1.fc29kernel-5.2.0-0.rc0.git1.1.vanilla.knurd.1.fc28
Diffstat (limited to 'configs/process_configs.sh')
-rwxr-xr-x | configs/process_configs.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/process_configs.sh b/configs/process_configs.sh index c90b4e171..846fe2e70 100755 --- a/configs/process_configs.sh +++ b/configs/process_configs.sh @@ -14,16 +14,16 @@ die() switch_to_toplevel() { path="$(pwd)" - while test -n "$path" + while test "$path" != "/" do - test -e $path/MAINTAINERS && \ - test -d $path/drivers && \ - break + test -e $path/MAINTAINERS && \ + test -d $path/drivers && \ + break path="$(dirname $path)" done - test -n "$path" || die "Can't find toplevel" + test "$path" != "/" || die "Can't find toplevel" echo "$path" } |