Skip to content

Commit

Permalink
Update fuel_upload.sh
Browse files Browse the repository at this point in the history
' ' is not being read correctly in shell so use " "
  • Loading branch information
frede791 authored Dec 18, 2023
1 parent 67ee3e6 commit bdc7bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ while IFS= read -r line; do
# If you want to modify or add a model, reupload it.
if [[ "$line" == "A"* || "$line" == "M"* ]]; then
echo "Uploading $model to fuel server"
gz fuel upload -m ./$type/$model -o PX4 --header 'Private-token: $FUEL_TOKEN' --url https://fuel.gazebosim.org
gz fuel upload -m ./$type/$model -o PX4 --header "Private-token: $FUEL_TOKEN" --url https://fuel.gazebosim.org
fi

prev_model=$model
Expand Down

0 comments on commit bdc7bcf

Please sign in to comment.