iankelling.org
/
git
/
buildscripts
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
catchup with lots of updates
[buildscripts]
/
rust
diff --git
a/rust
b/rust
index ceaf4c21a4832a0ca971f58bb80c276c6b26dedc..5ed2870e32fcf374b4b8c682ee7cfc866ccfa12d 100755
(executable)
--- a/
rust
+++ b/
rust
@@
-2,11
+2,6
@@
# Copyright (C) 2019 Ian Kelling
# SPDX-License-Identifier: AGPL-3.0-or-later
# Copyright (C) 2019 Ian Kelling
# SPDX-License-Identifier: AGPL-3.0-or-later
-if [ -z "$BASH_VERSION" ]; then echo "error: shell is not bash" >&2; exit 1; fi
-
-shopt -s inherit_errexit 2>/dev/null ||: # ignore fail in bash < 4.4
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
# alternatively, using https://iankelling.org/git/?p=errhandle;a=tree
# source /path/errhandle/err
# on my machine
# alternatively, using https://iankelling.org/git/?p=errhandle;a=tree
# source /path/errhandle/err
# on my machine