title: Pass variable number of arguments to command
body: <p>I'm using FPM to create Debian packages, and I've run into a little problem. 
  My bash script takes 5 arguments. </p>
  
  <pre><code>TARGET=$1
  VERSION=$2
  DESCRIPTION=$3
  DEPENDENCIES=$4
  REVISION=$5
  </code></pre>
  
  <p>The troublesome one is $4, where I pass it the following string</p>
  
  <blockquote>
    <p>-d "apt-transport-https > 0.8.16~exp12ubuntu10.15" -d "mongodb > 1:2.0.4-1ubuntu2" -d "ntp > 1:4.2.6.p3+dfsg-1ubuntu3.1"</p>
  </blockquote>
  
  <p>The double quotes are escaped in my string, so when I <code>echo $DEPENDENCIES</code>, the quotes show up correctly. </p>
  
  <p>FPM uses the <code>-d</code> flag can be used multiple times, and I need to be able to pass a list of parameters from my script to fpm. </p>
  
  <p>I would like to do something like:</p>
  
  <pre><code>fpm ...blah blah details... $DEPENDENCIES path
  </code></pre>
  
  <p>$DEPENDENCIES should pass the multiple flags to fpm, but it only seems to recognize the first one. If I write the arguments out manually, it works fine, but trying to use a string to pass the parameters doesn't work. </p>
  
  <p>I'm not sure what's up. Help?</p>