Created
January 20, 2015 02:21
-
-
Save skids/645c4a83d8c3f0c0b42e to your computer and use it in GitHub Desktop.
don't clobber imple-version, also openjdk has different cli options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bin/star.sh b/bin/star.sh | |
index 93ceb98..ddc8f3f 100755 | |
--- a/bin/star.sh | |
+++ b/bin/star.sh | |
@@ -50,9 +50,10 @@ for impl in MoarVM jvm; do | |
echo "MoarVM" > $LOG_DIR/$impl-version.log | |
cat MoarVM/VERSION >> $LOG_DIR/$impl-version.log | |
elif [ "$impl" = "jvm" ] ; then | |
- java --version > $LOG_DIR/$impl-version.log | |
+ java --version > $LOG_DIR/$impl-version.log || | |
+ java -showversion 2>&1 | grep 'OpenJDK' > $LOG_DIR/$impl-version.log | |
fi | |
- echo "Rakudo" > $LOG_DIR/$impl-version.log | |
+ echo "Rakudo" >> $LOG_DIR/$impl-version.log | |
cat rakudo/VERSION >> $LOG_DIR/$impl-version.log | |
echo "NQP" >> $LOG_DIR/$impl-version.log | |
cat nqp/VERSION >> $LOG_DIR/$impl-version.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment