Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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