summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcharlie52015-07-26 03:20:28 +1000
committercharlie52015-07-26 03:20:28 +1000
commit00015de3133b24e02eff3f36f6f7b0b53225c110 (patch)
tree8602d3d15d73c851a6bb3bf5c4e2102af737fce3
parent9bb4ffa208f9dce5a1d9d4950090514657c06d0b (diff)
downloadaur-00015de3133b24e02eff3f36f6f7b0b53225c110.tar.gz
Corrected find to only check 1 folder.
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index db162a782fa..93bfbc84513 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -114,11 +114,11 @@ prepare()
# FIND1=`find . -name "*" -exec printf ', "%s"' {} \;`
- FIND1=$(cd ${WRKSRC}/unicode && find * \( -name "unicode*.ads" -o -name "unicode*.adb" \) -exec printf ', "%s"' {} \; )
- FIND2=$(cd ${WRKSRC}/input_sources && find * \( -name "input*.ad[bs]" -o -name "input_sources.ads" \) -exec printf ', "%s"' {} \; )
- FIND3=$(cd ${WRKSRC}/sax && find * -name "sax-*.ad[bs]" -exec printf ', "%s"' {} \; )
- FIND4=$(cd ${WRKSRC}/dom && find * -name "dom-*.ad[bs]" -exec printf ', "%s"' {} \; )
- FIND5=$(cd ${WRKSRC}/schema && find * -maxdepth 1 \( -name "schema*.ad[bs]" -o -name "schema.ads" \) -exec printf ', "%s"' {} \; )
+ FIND1=$(cd ${WRKSRC}/unicode && find * -maxdepth 0 \( -name "unicode*.ads" -o -name "unicode*.adb" \) -exec printf ', "%s"' {} \; )
+ FIND2=$(cd ${WRKSRC}/input_sources && find * -maxdepth 0 \( -name "input*.ad[bs]" -o -name "input_sources.ads" \) -exec printf ', "%s"' {} \; )
+ FIND3=$(cd ${WRKSRC}/sax && find * -maxdepth 0 -name "sax-*.ad[bs]" -exec printf ', "%s"' {} \; )
+ FIND4=$(cd ${WRKSRC}/dom && find * -maxdepth 0 -name "dom-*.ad[bs]" -exec printf ', "%s"' {} \; )
+ FIND5=$(cd ${WRKSRC}/schema && find * -maxdepth 0 \( -name "schema*.ad[bs]" -o -name "schema.ads" \) -exec printf ', "%s"' {} \; )