From 1e249d17868b400502a3d65f3877894288b4ba1b Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 1 Oct 2001 00:44:24 +0000 Subject: [PATCH] This compresses to stdout when the Accept button in ARS, which allows an uncompressed and compressed version of each type to exist if desired. --- gbootroot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gbootroot b/gbootroot index 1d1ed7f..6b4f3c9 100755 --- a/gbootroot +++ b/gbootroot @@ -1405,7 +1405,8 @@ sub accept_button { info(0, "Already bzip2 compressed.\n"); } else { - system "$compress $tmp/$entry_advanced[4]"; + system + "$compress -c9 $tmp/$entry_advanced[4] > $tmp/$entry_advanced[4].gz"; $entry_advanced[4] = "$entry_advanced[4].gz"; $entry3->set_text("$tmp/$entry_advanced[4]"); } @@ -1431,7 +1432,8 @@ sub accept_button { info(0, "Already bzip2 compressed.\n"); } else { - system "$compress $tmp/$entry_advanced[4]"; + system + "$compress -c $tmp/$entry_advanced[4] > $tmp/$entry_advanced[4].bz2"; $entry_advanced[4] = "$entry_advanced[4].bz2"; $entry3->set_text("$tmp/$entry_advanced[4]"); }