[packages/kernel] Die on failures.

arekm arekm at pld-linux.org
Thu Nov 25 11:49:15 CET 2021


commit 6d5092649fd5322bb0a31257c8338933f90c0a31
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Nov 25 11:48:50 2021 +0100

    Die on failures.

 update-source.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/update-source.sh b/update-source.sh
index fc33254d..d1996de9 100755
--- a/update-source.sh
+++ b/update-source.sh
@@ -1,11 +1,11 @@
 #!/bin/sh
-set -x
+set -xe
 
 #BRANCH=aufs5.x-rcN
 BRANCH=aufs5.15
 
 # aufs5
-git clone git://github.com/sfjro/aufs5-standalone.git
+[ -d aufs5-standalone ] || git clone git://github.com/sfjro/aufs5-standalone.git
 cd aufs5-standalone
 git checkout -b ${BRANCH} origin/${BRANCH}
 git pull
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/614c9df0c25d0c14e59830391b2c9efd711ea002



More information about the pld-cvs-commit mailing list