Skip to content

Commit

Permalink
Log dir added to build
Browse files Browse the repository at this point in the history
  • Loading branch information
martindur committed Jul 5, 2022
1 parent 2dcdebb commit 53607bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ FILEBEAT=${FILEBEAT_URL##*/} # The filebeat folder
echo "-----> Filebeat version: $FILEBEAT"

if [ -e $ENV_DIR/FILEBEAT_LOGS_TARGET ]; then
FILEBEAT_LOGS_DIR=/app$(cat $ENV_DIR/FILEBEAT_LOGS_TARGET)
echo "-----> Making Filebeat log target directory: $FILEBEAT_LOGS_DIR"
mkdir -p $FILEBEAT_LOGS_DIR
FILEBEAT_LOGS_DIR=$(cat $ENV_DIR/FILEBEAT_LOGS_TARGET)
echo "-----> Making Filebeat log target directory: /app$FILEBEAT_LOGS_DIR" # After build, this will be the target directory
mkdir -p $BUILD_DIR$FILEBEAT_LOGS_DIR
fi

mkdir -p $CACHE_DIR
Expand Down

0 comments on commit 53607bf

Please sign in to comment.