diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-15 15:25:59 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-15 15:25:59 -0300 |
commit | fe138085ad889447942f03b969f1a3abb862cb8a (patch) | |
tree | 782e71f1b32b822135031317fa69ffd021935e7b /toru-path | |
parent | 0a7e0e2866dd5a3b8c794b1aefcec58c15cbe9df (diff) |
Toru-where is an utility to find PKGBUILD dirs on toru's path cache
Use with toru-path
Diffstat (limited to 'toru-path')
-rwxr-xr-x | toru-path | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,11 @@ source $(dirname $(command -v $0))/toru-utils +if [ ! -w "$TORUPATH" ]; then + error "Toru's path isn't writable. Please check $TORUPATH" + exit 1 +fi + LASTSYNCFILE=${TORUPATH}/lastsync.paths # TODO pass other paths via flags |