binpkg.sh: bzip2 pass doesn't need privs.

--HG--
extra : convert_revision : eea83d4204e016a78ec573d1b409e06ecb51c72a
This commit is contained in:
Juan RP 2009-02-26 18:18:51 +01:00
parent a00ae944b5
commit eac2af8da4

View file

@ -292,7 +292,7 @@ xbps_make_binpkg_real()
run_rootcmd $use_sudo tar cfp $XBPS_DESTDIR/$binpkg ./INSTALL && \ run_rootcmd $use_sudo tar cfp $XBPS_DESTDIR/$binpkg ./INSTALL && \
run_rootcmd $use_sudo tar rfp $XBPS_DESTDIR/$binpkg . \ run_rootcmd $use_sudo tar rfp $XBPS_DESTDIR/$binpkg . \
--exclude "./INSTALL" && \ --exclude "./INSTALL" && \
run_rootcmd $use_sudo bzip2 -9 $XBPS_DESTDIR/$binpkg && \ bzip2 -9 $XBPS_DESTDIR/$binpkg && \
mv $XBPS_DESTDIR/$binpkg.bz2 $XBPS_DESTDIR/$binpkg mv $XBPS_DESTDIR/$binpkg.bz2 $XBPS_DESTDIR/$binpkg
else else
run_rootcmd $use_sudo tar cfp $XBPS_DESTDIR/$binpkg . && \ run_rootcmd $use_sudo tar cfp $XBPS_DESTDIR/$binpkg . && \