Skip to content

Commit

Permalink
fix: need to expand the asterisk here (rackerlabs#387)
Browse files Browse the repository at this point in the history
cp tries to copy a file with an asterisk in the name otherwise
  • Loading branch information
LukeRepko authored Aug 2, 2024
1 parent 8f40075 commit fb15be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ test -d "ansible/inventory/${GENESTACK_PRODUCT}" || error "Product Config ${GENE
PRODUCT_DIR="ansible/inventory/${GENESTACK_PRODUCT}"
# shellcheck disable=SC2086
if [ "$(find ${GENESTACK_CONFIG}/inventory -name \*.yaml -o -name \*.yml 2>/dev/null |wc -l)" -eq 0 ]; then
cp -r "${PRODUCT_DIR}/*" "${GENESTACK_CONFIG}/inventory"
cp -r "${PRODUCT_DIR}"/* "${GENESTACK_CONFIG}/inventory"
fi

# Copy gateway-api exmaple configs
Expand Down

0 comments on commit fb15be6

Please sign in to comment.