diff options
| Commit | f02b8586bade74bfbc33be151952d6b084148ed6 (patch) | |
|---|---|---|
| Author | 2025-07-21 07:28:49 +0300 | |
| Committer | 2025-07-21 07:45:00 +0300 | |
| Files | 8238623d0235f9505b3ba8696207bcea79c0eef0 | |
| syndamia.com-f02b8586bade74bfbc33be151952d6b084148ed6.tar syndamia.com-f02b8586bade74bfbc33be151952d6b084148ed6.tar.gz syndamia.com-f02b8586bade74bfbc33be151952d6b084148ed6.zip | ||
| Parent | f6d40fff04fcf28e3a9f79afc3f00c6b6ac7f383 (diff) | |
fix(generate): Remove check whether GEN_DIR exists
It was not needed, mkdir -p will not do anything if the directory exists
1 files changed, 0 insertions, 2 deletions
| -rwxr-xr-x | generate.sh | 2 |
diff --git a/generate.sh b/generate.sh index 170450d..5a192a6 100755 --- a/generate.sh +++ b/generate.sh @@ -23,8 +23,6 @@ EOF echo "[Stage 0] Fixed folder/index.md hardlinks" # }}} # 1. Dunbar source to HTML {{{ - [ ! -d "$GEN_DIR" ] && mkdir "$GEN_DIR" - mkdir -p "$GEN_DIR" cp -a "$SRC_DIR/." "$GEN_DIR" rm "$GEN_DIR/$META_FILE" "$GEN_DIR/."* |