mostly fixes for new error handling
[distro-setup] / disabled / phabricator-setup
index ebd93606f752f8d688990d7d126bf7699f185cb5..212ac62f7c76f9362c6d916bd935053869ce1b1f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash -l
+#!/bin/bash
 # Copyright (C) 2016 Ian Kelling
 
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,8 +18,7 @@
 # Automated phabricator setup. Not currently using it,
 # but it worked last time I tried it.
 
-set -eE -o pipefail
-trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR
+if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi
 
 set -x