[Libreoffice-commits] .: download

Stephan Bergmann sbergmann at kemper.freedesktop.org
Fri Mar 9 05:34:15 PST 2012


 download |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit bda0b068b8b6a4dadf18b46098192d52be6cb963
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 9 14:34:00 2012 +0100

    Enable Bash pipefail so that e.g. wget failure leads to download failure

diff --git a/download b/download
index 55e0622..89efbbe 100755
--- a/download
+++ b/download
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #*************************************************************************
 #
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -26,6 +26,8 @@
 #
 #*************************************************************************
 
+set -o pipefail
+
 # environment setup yet?
 if [ -z "$TARFILE_LOCATION" ]; then
     . ./config_host.mk


More information about the Libreoffice-commits mailing list