tazpkg diff modules/mkdb @ rev 842
tazpkg: internal command 'call ...' to call tazpkg functions from modules (to share functions between tazpkg and its modules)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Sep 02 03:31:47 2015 +0300 (2015-09-02) |
parents | 2607b466301c |
children | d6cbd0c5f273 |
line diff
1.1 --- a/modules/mkdb Tue Aug 04 02:29:51 2015 +0300 1.2 +++ b/modules/mkdb Wed Sep 02 03:31:47 2015 +0300 1.3 @@ -76,7 +76,7 @@ 1.4 [ -z "$1" ] && die 'Input folder not specified' 1.5 1.6 # Exit if input folder not exists 1.7 -folder="$(realpath "$1")" || exit 1 1.8 +folder=$(realpath "$1") || exit 1 1.9 1.10 # Exit if folder is not writable 1.11 [ ! -w "$folder" ] && die 'You are not allowed to write to the folder "%s"' "$folder"