Skip to content
Snippets Groups Projects
Unverified Commit 8f0545c2 authored by Daniel's avatar Daniel
Browse files

MAINT: Earlier set -e, also documentation.

parent e68951af
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,11 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Load setting from different files, in this order:
# - config.defaults
# - .config
# - The file given in ENV_FILE.
[[ -n "config.defaults" ]] && source "config.defaults"
[[ -n ".config" ]] && source ".config"
[[ -n "$ENV_FILE" ]] && source "$ENV_FILE"
......
......@@ -29,11 +29,11 @@ if [ -z "$UTILSPATH" ]; then
export UTILSPATH
fi
set -e
source $UTILSPATH/load_settings.sh
source $UTILSPATH/helpers.sh
set -e
function fail() {
echo "Some error occured, exiting."
exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment