aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-02-25 01:39:38 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-02-25 01:39:38 +0100
commitf7ae4bffadd232a758dfe9dce7025899b6fe7bad (patch)
tree7c17e8177d2aef5df4a80344ec4d0c64ca616355 /src/blogc-make
parent0bc74a99b362a7ef58655bf3d4b29d5699c38c90 (diff)
downloadblogc-f7ae4bffadd232a758dfe9dce7025899b6fe7bad.tar.gz
blogc-f7ae4bffadd232a758dfe9dce7025899b6fe7bad.tar.bz2
blogc-f7ae4bffadd232a758dfe9dce7025899b6fe7bad.zip
Revert "blogc: make: mkdir may raise ENOENT"
This reverts commit 0bc74a99b362a7ef58655bf3d4b29d5699c38c90. That change made no sense :x
Diffstat (limited to 'src/blogc-make')
-rw-r--r--src/blogc-make/exec-native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blogc-make/exec-native.c b/src/blogc-make/exec-native.c
index 4a31c88..ae5517d 100644
--- a/src/blogc-make/exec-native.c
+++ b/src/blogc-make/exec-native.c
@@ -40,7 +40,7 @@ bm_exec_native_cp(bm_filectx_t *source, bm_filectx_t *dest, bool verbose)
*tmp = '\0';
if ((strlen(fname) > 0) &&
(-1 == mkdir(fname, 0777)) &&
- (errno != EEXIST && errno != ENOENT))
+ (errno != EEXIST))
{
fprintf(stderr, "blogc-make: error: failed to create output "
"directory (%s): %s\n", fname, strerror(errno));