[pacman-dev] Maybe some problems with pacman-git

Travis Willard travis at archlinux.org
Tue Jan 8 07:34:02 EST 2008


On Jan 8, 2008 4:44 AM, Karolina Lindqvist
<karolina.lindqvist at kramnet.se> wrote:
> @@ -363,13 +373,15 @@
>
>                         local makepkg_opts='-i -c -b'
>                         [ "$RMDEPS" = "1" ] && makepkg_opts="$makepkg_opts -r"
> +                       [ "$ASROOT" = "1" ] && makepkg_opts="$makepkg_opts -r --asroot"
>                         local ret packagedir
>                         for packagedir in $candidates; do
>                                 if [ -f "$packagedir/$BUILDSCRIPT" ]; then
>                                         cd "$packagedir"
>                                         ret=0
> -                                       PKGDEST="$PKGDEST" makepkg $makepkg_opts || ret=$?
>                                         [ $ret -eq 0 ] && continue 2
> +                                       PKGDEST="$PKGDEST" makepkg $PACMAN_OPTS $makepkg_opts || ret=$?
>                                 fi
>                         done

You might want to look at the second half of this patch - why did you
move the call to makepkg after the continue?  That'll probably break a
lot.




More information about the pacman-dev mailing list