diff options
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-x | src/abslibre-tools/libredbdiff | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abslibre-tools/libredbdiff b/src/abslibre-tools/libredbdiff index 60eae7c..fdec43a 100755 --- a/src/abslibre-tools/libredbdiff +++ b/src/abslibre-tools/libredbdiff @@ -56,7 +56,7 @@ enablerepo() { createdir() { local dir=$1 - if [[ ! -e "$dir" ]] ; then + if ! [[ -d "$dir" ]] ; then msg "Creating directory %q" "$dir" mkdir -- "$dir" || die "Failed to create directory %q. Exiting." "$dir" elif $init; then |