libnetwork: print an informational message before creating the source compressed tarball. This may take a while

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-10-13 19:34:16 +02:00
parent dde8cdd235
commit b0555e95b7
3 changed files with 9 additions and 0 deletions

View File

@ -25,6 +25,10 @@ Changes in version 1.12.6
Clone the entire git repository when the option '--preserve-dot-git' is
selected by user.
* lib/libnetwork.lib - Davide Madrisan:
Print an informational message before creating the source compressed
tarball. This may take a while.
-------------------------------------------------------------------------------
Changes in version 1.12.5

View File

@ -948,6 +948,8 @@ function git.create_tarball() {
pck_tarball="${pck_tarball}-${pck_version}"
# create a compressed tarball
# FIXME: why bzip2? The compression tool used here should be configurable
notify.note "${NOTE}"$"creating the compressed source tarball"${NORM}""..."
tar -cvf ${pck_tarball}.tar $pck_tarball/ >/dev/null &&
bzip2 ${pck_tarball}.tar &&
mv ${pck_tarball}.tar.bz2 $destdir/

View File

@ -96,3 +96,6 @@ msgstr "impossibile clonare il repository git"
msgid "an error occurred while creating"
msgstr "si è verificato un errore durante la creazione di"
msgid "creating the compressed source tarball"
msgstr "creazione del file sorgente compresso"