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