diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-03 01:33:11 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-03 01:40:49 -0400 |
commit | 26bf98d537efd0857fbf737eb42d224e171e8211 (patch) | |
tree | 0ebb0951972ee4b5739b396648875ad90ce2aeea /src/abslibre-tools | |
parent | 56ebbc577bcc84749c361ae8d7fe1c8c4071f354 (diff) |
libredbdiff: tidy
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 |