Skip to content

Instantly share code, notes, and snippets.

@augustjoki
Forked from wooster/gist:894962
Created March 30, 2011 18:52
Show Gist options
  • Save augustjoki/895004 to your computer and use it in GitHub Desktop.
Save augustjoki/895004 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ -d "$BUILT_PRODUCTS_DIR/${PRODUCT_NAME}.app/foo.bundle" ]; then
rm -rf "$BUILT_PRODUCTS_DIR/${PRODUCT_NAME}.app/foo.bundle"
fi
if [ -d "$BUILT_PRODUCTS_DIR/foo.bundle" ]; then
cp -r "$BUILT_PRODUCTS_DIR/foo.bundle" "$BUILT_PRODUCTS_DIR/${PRODUCT_NAME}.app/"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment