[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'."
- [lmi-commits] [lmi] master updated (3f01703 -> b80b1ae), Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master d8e9f2d 2/7: Install EPEL before schroot: apparently required for centos, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 564f492 5/7: Assume presence of a local file, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 0b88770 3/7: Allow a script to fail, at least for now,
Greg Chicares <=
- [lmi-commits] [lmi] master b80b1ae 7/7: Experiment with bind mounts, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 1777663 1/7: Choose a more distinctive chroot name, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master cec4ea5 6/7: Test an alternative to a failing mount command, Greg Chicares, 2019/10/04
- [lmi-commits] [lmi] master 32c2f24 4/7: Temporarily allow a command to fail, Greg Chicares, 2019/10/04