lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 0b88770 3/7: Allow a script to fail, at least


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 0b88770 3/7: Allow a script to fail, at least for now
Date: Fri, 4 Oct 2019 19:20:59 -0400 (EDT)

branch: master
commit 0b88770100ac6861ad9cd56245f826b054bb07be
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Allow a script to fail, at least for now
    
    Debugging is easier without 'set -e': if the fourth of ten steps
    fails, it's useful to know whether steps five through nine succeed,
    especially because this script takes a long time to run.
---
 install_centos.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install_centos.sh b/install_centos.sh
index 6ac62f4..dac1171 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -116,7 +116,7 @@ mount --bind /var/cache/"${CODENAME}" 
/srv/chroot/centos7lmi/var/cache/apt/archi
 
 cat >/srv/chroot/centos7lmi/tmp/setup1.sh <<EOF
 #!/bin/sh
-set -evx
+set -vx
 
 echo "Adapted from 'lmi_setup_00.sh'."
 



reply via email to

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