summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-06-07 23:56:34 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-07 23:56:34 -0600
commitd9a42e4a98877512a8f1419270fddf156a1b2038 (patch)
treee31487041730ff37f91f0c97cee6a4fab9b2b27a /src
parentfd7c79cbcee30e599a50a19eeaf820b22caf81d1 (diff)
xbs-abslibre: better error handling
Diffstat (limited to 'src')
-rwxr-xr-xsrc/xbs-abslibre/helper-abslibre5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xbs-abslibre/helper-abslibre b/src/xbs-abslibre/helper-abslibre
index 500ad7e..6e9abd3 100755
--- a/src/xbs-abslibre/helper-abslibre
+++ b/src/xbs-abslibre/helper-abslibre
@@ -17,6 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+. libremessages
+setup_traps
+set -u
+
lockarch() {
local arch=$1
lock 9 "${ABSLIBREDEST}/${arch}.lock" \
@@ -35,7 +39,6 @@ checkgit() {
}
conf() {
- . libremessages
. "$(librelib conf)"
load_files libretools
check_vars libretools "$@" || exit 1