From b0f34edcb6a7ef1a6a96423b12994943b90af5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Thu, 16 Feb 2012 11:44:44 -0600 Subject: toru-utils: trap shows name of $0 --- toru-utils | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toru-utils') diff --git a/toru-utils b/toru-utils index bb0aef4..7e6d62d 100755 --- a/toru-utils +++ b/toru-utils @@ -7,7 +7,7 @@ source /etc/libretools.conf if [ ! -w "$TORUPATH" ]; then error "Toru's path isn't writable. Please check $TORUPATH" - exit 1 + exit 1 fi LASTSYNCFILE=${TORUPATH}/lastsync @@ -81,6 +81,6 @@ trap_exit() { # Trap signals from makepkg set -E -trap 'trap_exit "(prfullpkg:${level}) TERM signal caught. Exiting..."' TERM HUP QUIT -trap 'trap_exit "(prfullpkg:${level}) Aborted by user! Exiting..."' INT -trap 'trap_exit "(prfullpkg:${level}) An unknown error has occurred. Exiting..."' ERR +trap 'trap_exit "($(basename $0):${level}) TERM signal caught. Exiting..."' TERM HUP QUIT +trap 'trap_exit "($(basename $0):${level}) Aborted by user! Exiting..."' INT +trap 'trap_exit "($(basename $0):${level}) An unknown error has occurred. Exiting..."' ERR -- cgit v1.2.3-2-g168b From fe138085ad889447942f03b969f1a3abb862cb8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Wed, 15 Aug 2012 15:25:59 -0300 Subject: Toru-where is an utility to find PKGBUILD dirs on toru's path cache Use with toru-path --- toru-utils | 5 ----- 1 file changed, 5 deletions(-) (limited to 'toru-utils') diff --git a/toru-utils b/toru-utils index 0818aa6..c0918ae 100755 --- a/toru-utils +++ b/toru-utils @@ -5,11 +5,6 @@ source /etc/abs.conf source /etc/libretools.conf -if [ ! -w "$TORUPATH" ]; then - error "Toru's path isn't writable. Please check $TORUPATH" - exit 1 -fi - LASTSYNCFILE=${TORUPATH}/lastsync FORCE=false QUIET=false -- cgit v1.2.3-2-g168b From 12377d79078170ec47c1fa5fb56b12ecb13367e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Sat, 20 Oct 2012 16:04:17 -0300 Subject: Use TokyoCabinet to store the PKGBUILD path cache --- toru-utils | 2 -- 1 file changed, 2 deletions(-) (limited to 'toru-utils') diff --git a/toru-utils b/toru-utils index c0918ae..316e6b8 100755 --- a/toru-utils +++ b/toru-utils @@ -1,6 +1,4 @@ #!/bin/bash -#!/bin/bash - source /etc/abs.conf source /etc/libretools.conf -- cgit v1.2.3-2-g168b