diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-08 16:55:08 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-08 16:55:08 -0300 |
commit | 1873a2f71e77ffbd46258474851600bdb1ecc297 (patch) | |
tree | 0dd77f3e204df12b7b1192c4ad6f50210ad7dee1 | |
parent | f03b4712e3db0a7bc28b63483a0314d509783779 (diff) |
Minor improvements
-rwxr-xr-x | toru-path | 2 | ||||
-rwxr-xr-x | toru-utils | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -17,7 +17,7 @@ for _pkgbuild in ${pkgbuilds[@]}; do continue } - fullpath=$(dirname $(readlink -f ${_pkgbuild})) + fullpath=$(dirname ${_pkgbuild}) for _pkg in ${pkgbase} ${pkgname[@]} ${provides[@]}; do paths+=(${_pkg/[<>=]*}:${fullpath}) @@ -78,6 +78,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 "TERM signal caught. Exiting..."' TERM HUP QUIT +trap 'trap_exit "Aborted by user! Exiting..."' INT +trap 'trap_exit "An unknown error has occurred. Exiting..."' ERR |