title: Xcode "Run Script" === command not found
body: <p>I have a script that is run as part of my build process which uses DMGCanvas to create a finished DMG file with my app on it. The file at:</p>
  
  <pre><code>"$SRCROOT/diskimage/dmgcanvas"
  </code></pre>
  
  <p>is a symbolic link to the dmgcanvas tool which is embedded in the DMGCanvas.app package in the Applications folder.</p>
  
  <p>Line 92:
  <code>"$SRCROOT/diskimage/dmgcanvas" "$SRCROOT/diskimage/MyApp.dmgCanvas" "$SRCROOT/Build/Products/Release/myapp.dmg" -volumeName MyApp -setFilePath MyApp.app "$SRCROOT/Build/Products/Release/MyApp.app"</code></p>
  
  <p>This works correctly and builds a proper DMG file, but in the Xcode build results I see:</p>
  
  <pre><code>/Volumes/Projects/MyApp/scripts/PackageApp.sh: line 92: ===: command not found
  </code></pre>
  
  <p>Why is it showing this error when the command executed correctly?</p>
  
  <p>Note that for some reason the StackOverflow site is not showing the pointy single quotes around the command (the character under the tilde key).</p>