Skip to content

Commit

Permalink
Remove join_by
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Feb 4, 2025
1 parent aebe8dd commit eae98b2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ci/container/build-ic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ export BINARIES_DIR_FULL="$ROOT_DIR/$BINARIES_DIR"
export CANISTERS_DIR_FULL="$ROOT_DIR/$CANISTERS_DIR"
export DISK_DIR_FULL="$ROOT_DIR/$DISK_DIR"

# Join a bash array with a string
# https://stackoverflow.com/a/17841619
function join_by {
local d=${1-} f=${2-}
if shift 2; then
printf %s "$f" "${@/#/$d}"
fi
}

echo_blue "Purging artifact directories"
rm -rf "$BINARIES_DIR_FULL"
rm -rf "$CANISTERS_DIR_FULL"
Expand Down

0 comments on commit eae98b2

Please sign in to comment.