Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Add '-f' flag to upload-stemcell to allow forced replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan McGinlay committed Feb 4, 2018
1 parent b0f6f5c commit 087707c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions network-pivotal-io-download/network-pivotal-io-download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ do

OM_CMD="upload-product -p"
if echo ${FILE_NAME} | grep -q "stemcell"; then
OM_CMD="upload-stemcell -s"
OM_CMD="upload-stemcell -f -s"
fi

printline "Importing: ${OM_CMD} ${FILE_NAME}"
Expand Down Expand Up @@ -101,4 +101,4 @@ do

done

printline "Operation complete"
printline "Operation complete"

0 comments on commit 087707c

Please sign in to comment.