Skip to content

Commit

Permalink
lib.sh: make sure OUT_DIR exists in _regenerate_sysinc_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Mar 21, 2023
1 parent 4680f2e commit 2977fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etc/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ _need_regenerate_sysinc_dir() {
_regenerate_sysinc_dir() {
printf "Generating lib/sysinc from lib/sysinc-src ..."
local LOGFILE="$OUT_DIR/gen-sysinc.log"
mkdir -p "$OUT_DIR"
if ! $BASH "$PROJECT/etc/gen-sysinc.sh" > "$LOGFILE" 2>&1; then
echo " failed. See $(_relpath "$LOGFILE")" >&2
exit 1
Expand Down

0 comments on commit 2977fe5

Please sign in to comment.