diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-01 19:57:17 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-07-01 19:57:17 -0300 |
commit | 00b73bbb8262ed5a43db281a96448638fd15122d (patch) | |
tree | e48081373d0fd42cd9938d98b3b3f05c74e96ae0 | |
parent | 0bdf0e254112eae0332b4ae85f417abb7091f690 (diff) | |
parent | 887b00b9465195b0d99649bf85ae7af1ed0ac782 (diff) |
Merge branch 'master' of ssh://vparabola/srv/git/projects/libretools
-rwxr-xr-x | libremakepkg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libremakepkg b/libremakepkg index 13e7617..f9f7316 100755 --- a/libremakepkg +++ b/libremakepkg @@ -158,16 +158,16 @@ buildenv msg "Creating the package" if [ -d "${CHROOTDIR}/${CHROOTNAME}" ]; then # use chroot - if [ "${UPDATE_FIRST}" = 'y' ]; then - msg "Updating the chroot in use..." - mkarchroot -c ${CACHEDIR} -u "${CHROOTDIR}/${CHROOTNAME}" # -c option is for cache - fi - if [ "${CLEAN_FIRST}" = 'y' ]; then msg "Cleaning" clean_chroot fi + if [ "${UPDATE_FIRST}" = 'y' ]; then + msg "Updating the chroot in use..." + mkarchroot -c ${CACHEDIR} -u "${CHROOTDIR}/${CHROOTNAME}" # -c option is for cache + fi + makechrootpkg -r "${CHROOTDIR}" -l "${CHROOTNAME}" -- "${MAKEPKG_ARGS}" ev=$? # exit value |