diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 16:12:24 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-05-23 16:12:24 +0200 |
commit | 61472a32cdb3e538f954ceb2656d0c41b4cd0b9d (patch) | |
tree | 6d114ac1a43f28fc628539b26f1e41b1bcd36e1b /%252525252525253fid%252525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%2525252525253fid%2525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%25252525253fid%25252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%252525253fid%252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%2525253fid%2525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%25253fid%25253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%253fid%253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d?id=61472a32cdb3e538f954ceb2656d0c41b4cd0b9d | |
parent | 9719de8ea3a88f2968378ff213202737dc9f3dda (diff) |
scripts/calcurse-upgrade: Set "-e"
From the set(1p) man page:
When this option is on, if a simple command fails for any of the
reasons listed in Consequences of Shell Errors or returns an exit
status value >0, and is not part of the compound list following a
while, until, or if keyword, and is not a part of an AND or OR list,
and is not a pipeline preceded by the ! reserved word, then the shell
shall immediately exit.
This allows us to remove all the "|| exit 1" statements we used to bail
out if one command fails.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to '%252525252525253fid%252525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%2525252525253fid%2525252525253d7fa1f0e2aa70a610d6de76e2194857b2ddc36b18%25252525253fid%25252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%252525253fid%252525253dde114ce437d5f34db52a3acd7e17672ea6d76336%2525253fid%2525253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%25253fid%25253d7bec0d47ee2b4a0438e83c15dd152e531e334a46%253fid%253d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d%3fid%3d61472a32cdb3e538f954ceb2656d0c41b4cd0b9d?id=61472a32cdb3e538f954ceb2656d0c41b4cd0b9d')
0 files changed, 0 insertions, 0 deletions