/usr/bin/gcloud script should quote args

Bug #1663325 reported by Bryan Boreham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-cloud-sdk (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am using google-cloud-sdk on Ubuntu 16.04.
There are four similar scripts in the package:

$ grep exec debian/bin/*
debian/bin/bq:exec /usr/lib/google-cloud-sdk/bin/bq ${@}
debian/bin/gcloud:exec /usr/lib/google-cloud-sdk/bin/gcloud ${@}
debian/bin/git-credential-gcloud.sh:exec /usr/lib/google-cloud-sdk/bin/git-credential-gcloud.sh ${@}
debian/bin/gsutil:exec /usr/lib/google-cloud-sdk/bin/gsutil ${@}

All would benefit from putting "" round ${@}

Further info:

$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
$ apt-cache policy google-cloud-sdk
google-cloud-sdk:
  Installed: 111.0.0-0ubuntu1~16.04.0
  Candidate: 111.0.0-0ubuntu1~16.04.0
  Version table:
 *** 111.0.0-0ubuntu1~16.04.0 500
        500 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.