mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-18 04:29:22 +00:00
Don't suggest changing NARWHAL_ENGINE to jsc if it's already jsc.
This commit is contained in:
1 parent
7365a95b4d
commit
5ff7169546
1 file changed
+2
-1
+2
-1
@@ -185,6 +185,7 @@ if ! prompt "yes"; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
NARWHAL_ENGINE_SAVED="$NARWHAL_ENGINE"
|
||||
unset NARWHAL_ENGINE
|
||||
unset SEA
|
||||
unset SEALVL
|
||||
@@ -302,7 +303,7 @@ if [ `uname` = "Darwin" ]; then
|
||||
echo "WARNING: building narwhal-jsc failed. Hit enter to continue."
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
# read
|
||||
elif ! [ "$NARWHAL_ENGINE" = "jsc" ]; then
|
||||
elif ! [ "$NARWHAL_ENGINE_SAVED" = "jsc" ]; then
|
||||
echo "================================================================================"
|
||||
echo "Rhino is the default Narwhal engine, should we change the default to JavaScriptCore for you?"
|
||||
echo "This can by overridden by setting the NARWHAL_ENGINE environment variable to \"jsc\" or \"rhino\"."
|
||||
|
||||
Reference in new issue
Block a user