commit | 31db889c8319de38b31bc9b1c1e628bf53c8f99a | [log] [tgz] |
---|---|---|
author | Konstantin Pavlov <thresh@nginx.com> | Tue Jan 26 12:49:47 2021 +0300 |
committer | Konstantin Pavlov <thresh@nginx.com> | Tue Jan 26 12:49:47 2021 +0300 |
tree | 3081ebca6ad26ba8e604deb1a9789e045ef72c1a | |
parent | 87d0025e7f6f5d3bfcd5f8f54c964e7bb6810bac [diff] |
Alpine: fixed find invocation. maxdepth should be specified before type.
diff --git a/alpine/APKBUILD-module.in b/alpine/APKBUILD-module.in index 119a1c8..4d36c32 100644 --- a/alpine/APKBUILD-module.in +++ b/alpine/APKBUILD-module.in
@@ -90,7 +90,7 @@ sn=${bs%-*} fi ( cd "$srcdir" && \ - sndir=`find * -type d -maxdepth 1 -name "${sn}-*" | head -1` ; \ + sndir=`find * -maxdepth 1 -type d -name "${sn}-*" | head -1` ; \ test -n "$sndir" && ln -s ${sndir} ${sn} ||: ) fi done