Revision 11823
Added by Aaron Marcuse-Kubitza about 11 years ago
bin/import_all | ||
---|---|---|
1 |
#!/bin/bash |
|
1 |
#!/bin/bash -e
|
|
2 | 2 |
# Imports all inputs at once |
3 |
set -o errexit -o pipefail # errexit since may be called from shell |
|
3 | 4 |
|
4 | 5 |
if test "$1" = .; then set --; fi # was .-included without args, so $@ is wrong |
5 | 6 |
|
Also available in: Unified diff
bugfix: bin/import_all: run in errexit mode, so that if the user cancels reinstalling of the import schema, the script will then abort instead of continuing and using the wrong schema