]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - gyp/run-if-exists.sh
JavaScriptCore-903.tar.gz
[apple/javascriptcore.git] / gyp / run-if-exists.sh
diff --git a/gyp/run-if-exists.sh b/gyp/run-if-exists.sh
new file mode 100755 (executable)
index 0000000..242ffc8
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -f $1 ]; then
+    $1 || exit $?;
+fi