title: "set: illegal option -" on one host but not the other
body: <p>I've written a sh script in one of my ubuntu VMs which works fine, but when I try to run it in my other VMs, it does not work. Both VMs should be the same. With <code>bash --version</code> both VMs reply with: </p>
  
  <pre><code>GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
  Copyright (C) 2013 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
  
  This is free software; you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  </code></pre>
  
  <p>With <code>lsb_release -a</code>, both also reply:</p>
  
  <pre><code>No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 14.04.3 LTS
  Release:        14.04
  Codename:       trusty
  </code></pre>
  
  <p>My <code>security_steps.sh</code> script looks like this:</p>
  
  <pre><code>#!/bin/sh
  
  set -e
  
  if ! [ -f svn_up_action.sh ]; then
    echo "svn_up_action.sh is missing. Please make sure it is in the same directory as this script."
    exit
  fi
  </code></pre>
  
  <p>When I do: <code>sudo sh security_steps.sh</code>, the console errors with:</p>
  
  <pre><code>: not foundeps.sh: 6: security_steps.sh:
  security_steps.sh: 7: set: Illegal option -
  </code></pre>
  
  <p>How can I figure out what's going on with the VM of the non-working shell? I feel like the shells are somehow different. I appreciate your help!</p>