summaryrefslogtreecommitdiff
path: root/src/abslibre-tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-03 01:33:11 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-03 01:40:49 -0400
commit26bf98d537efd0857fbf737eb42d224e171e8211 (patch)
tree0ebb0951972ee4b5739b396648875ad90ce2aeea /src/abslibre-tools
parent56ebbc577bcc84749c361ae8d7fe1c8c4071f354 (diff)
libredbdiff: tidy
Diffstat (limited to 'src/abslibre-tools')
-rwxr-xr-xsrc/abslibre-tools/libredbdiff2
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