savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] [PATCH 5/6] gsv-eval-remote.sh (process_packag


From: Bruno Félix Rezende Ribeiro
Subject: [Savannah-hackers-public] [PATCH 5/6] gsv-eval-remote.sh (process_package): normalize archive methods error message.
Date: Wed, 23 Sep 2015 04:02:43 -0300

---
 gsv-eval-remote.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gsv-eval-remote.sh b/gsv-eval-remote.sh
index 588a469..02c02d9 100755
--- a/gsv-eval-remote.sh
+++ b/gsv-eval-remote.sh
@@ -132,14 +132,14 @@ process_package() {
         *application/zip*)
             DIRECTORY=$(mktemp -d zip.XXXXXX) \
                 || die "failed to create temporary directory"
-            unzip "$1" -d "$DIRECTORY" > /dev/null || die "failed to 
decompress '$1'"
+            unzip "$1" -d "$DIRECTORY" > /dev/null || die "failed to extract 
files from '$1'"
             cd "$DIRECTORY"
             pwd
             ;;
         *application/x-rar*)
             DIRECTORY=$(mktemp -d x-rar.XXXXXX) \
                 || die "failed to create temporary directory"
-            unar "$1" -o "$DIRECTORY" > /dev/null || die "failed to decompress 
'$1'"
+            unar "$1" -o "$DIRECTORY" > /dev/null || die "failed to extract 
files from '$1'"
             cd "$DIRECTORY"
             pwd
             ;;
-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]