diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/toru/toru-path | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/toru/toru-path b/src/toru/toru-path index 4dcb811..7e90035 100755 --- a/src/toru/toru-path +++ b/src/toru/toru-path @@ -60,9 +60,7 @@ main() { FORCE=${F:-false} load_files libretools - check_vars libretools TORUPATH REPOS || exit 1 load_files abs - check_vars abs ABSROOT || exit 1 # TODO: add an option to override/augment libretools.conf:REPOS if [[ $# != 0 ]]; then if [[ $# == 1 && "$1" == '-h' ]]; then @@ -73,6 +71,9 @@ main() { return 2 fi + check_vars libretools TORUPATH REPOS || return 1 + check_vars abs ABSROOT || return 1 + if [ ! -w "$TORUPATH" ]; then error "Toru's path isn't writable. Please check your TORUPATH: %q" "$TORUPATH" exit 1 |