Skip to content

Commit 2977fe5

Browse files
committed
lib.sh: make sure OUT_DIR exists in _regenerate_sysinc_dir
1 parent 4680f2e commit 2977fe5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

etc/lib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ _need_regenerate_sysinc_dir() {
203203
_regenerate_sysinc_dir() {
204204
printf "Generating lib/sysinc from lib/sysinc-src ..."
205205
local LOGFILE="$OUT_DIR/gen-sysinc.log"
206+
mkdir -p "$OUT_DIR"
206207
if ! $BASH "$PROJECT/etc/gen-sysinc.sh" > "$LOGFILE" 2>&1; then
207208
echo " failed. See $(_relpath "$LOGFILE")" >&2
208209
exit 1

0 commit comments

Comments
 (0)