Public bug reported:

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

** Affects: google-cloud-sdk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1663325

Title:
  /usr/bin/gcloud script should quote args

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/google-cloud-sdk/+bug/1663325/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to