Skip to content

Commit

Permalink
Remove check for local deps dir and download dir
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Rojas <[email protected]>
  • Loading branch information
hisergiorojas committed Mar 20, 2024
1 parent 636af7c commit 84017e5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/build-scripts/build_ninja.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@ NINJA_VERSION=${NINJA_VERSION:=1.10.2}
NINJA_BRANCH=${NINJA_BRANCH:=v${NINJA_VERSION}}
NINJA_INSTALL_DIR=${NINJA_INSTALL_DIR:=${LOCAL_DEPS_DIR}/dist/bin}

# Check if the directories exist, create them if not
if [ ! -d "$LOCAL_DEPS_DIR" ]; then
mkdir -p "$LOCAL_DEPS_DIR"
fi

if [ ! -d "$DOWNLOADS_DIR" ]; then
mkdir -p "$DOWNLOADS_DIR"
fi
mkdir -p "$DOWNLOADS_DIR"

# Check if the tar exist, download it if not
if [ ! -f $DOWNLOADS_DIR/ninja-v${NINJA_VERSION}.tar.gz ]; then
Expand Down

0 comments on commit 84017e5

Please sign in to comment.