Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-10-28 21:18:39 -0500
committerDan McGee <dan@archlinux.org>2007-10-28 21:18:39 -0500
commit3e3e7a97a629cc86a53044766039c66d85cf67cb (patch)
treeb0c95b6e3716cbee8ff779c2129f15bd1e835df4
parent8a9c83dd4bffff575a21207248e7acaae5a0d6f9 (diff)
makepkg: add explicit dir to find calls
Some of the find calls did not have a path, which isn't valid in some versions of the find utility. Add a . for compatibility. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index ed511755..831c1bda 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -752,12 +752,12 @@ tidy_install() {
if [ "$(check_option libtool)" = "n" ]; then
msg2 "$(gettext "Removing libtool .la files...")"
- find -type f -name "*.la" -exec rm -f -- '{}' \;
+ find . -type f -name "*.la" -exec rm -f -- '{}' \;
fi
if [ "$(check_option emptydirs)" = "n" ]; then
msg2 "$(gettext "Removing empty directories...")"
- find -depth -type d -empty -delete
+ find . -depth -type d -empty -delete
fi
}
@@ -785,7 +785,7 @@ create_package() {
# - find all other files/links
# - grep out dot files in root dir (e.g. .FILELIST .PKGINFO...)
# - sort the list
- find -mindepth 1 \( -type d -printf '%P/\n' \) , \( ! -type d -printf '%P\n' \) \
+ find . -mindepth 1 \( -type d -printf '%P/\n' \) , \( ! -type d -printf '%P\n' \) \
2>/dev/null | grep -v '^\.' | sort >.FILELIST
# write the .PKGINFO file