Permalink
Browse files

More reliable Erlang version identification

  • Loading branch information...
1 parent a8955df commit 792b222220cd293211a417acba4b9c891107c656 @alavrik committed Feb 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 otp_release.sh
View
@@ -1,6 +1,6 @@
#!/bin/sh
-OTP_VERSION=`erl -eval 'io:format("~s", [erlang:system_info(otp_release)]), halt().'`
+OTP_VERSION=`erl -noshell -eval 'io:format("~s", [erlang:system_info(otp_release)]), halt().'`
case "$OTP_VERSION" in
R13*)

0 comments on commit 792b222

Please sign in to comment.