Skip to content

Commit 829a133

Browse files
author
Daniel Ruthardt
authored
🐛 Ensure (writeable) include dir is not ignored (#20)
1 parent eef7d96 commit 829a133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bashpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ function preprocess() {
161161
}
162162

163163
INCLUDE_DIR=${INCLUDE_DIR:-libs}
164-
BASHP_INCLUDE_DIRS=${BASHP_INCLUDE_DIRS:-$INCLUDE_DIR}
164+
[[ -n "$BASHP_INCLUDE_DIRS" ]] && BASHP_INCLUDE_DIRS+=":${INCLUDE_DIR}" || BASHP_INCLUDE_DIRS=$INCLUDE_DIR
165165
BASHP_INCLUDE_REPOS=${BASHP_INCLUDE_REPOS:-ghcr.io/lf-certification}
166166
mkdir -p "$INCLUDE_DIR"
167167

0 commit comments

Comments
 (0)