summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-25 01:30:54 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-25 01:30:54 +0000
commit597c4b3d9850883500285f65fb6d5dbe80e84104 (patch)
tree93707fc5ac62116f373f1e994cfb7623307a3fa5 /scripts
parent83fca950bc6ed5d0082d7081e1c5d81e83734047 (diff)
downloadpacman-597c4b3d9850883500285f65fb6d5dbe80e84104.tar.xz
added patch from VMiklos - fixes ownership problems when building in a chroot w/ fakeroot
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 6b578524..989e6375 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -133,7 +133,7 @@ handledeps() {
fi
sudo pacman -D $deplist
if [ "$INFAKEROOT" = "1" ]; then
- FAKEROOTKEY=$FAKEROOTKEY2
+ export FAKEROOTKEY=$FAKEROOTKEY2
unset FAKEROOTKEY2
fi
if [ "$?" = "127" ]; then
@@ -738,7 +738,7 @@ elif [ "$RMDEPS" = "1" -a "$DEP_SUDO" = "1" ]; then
fi
sudo pacman -R $makedeplist $deplist
if [ "$INFAKEROOT" = "1" ]; then
- FAKEROOTKEY=$FAKEROOTKEY2
+ export FAKEROOTKEY=$FAKEROOTKEY2
unset FAKEROOTKEY2
fi
fi