Created
June 19, 2010 07:44
-
-
Save selman/444687 to your computer and use it in GitHub Desktop.
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/configure b/configure | |
index 2f48a9a..1314b70 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -30,7 +30,12 @@ class Configure | |
@llvm_default = File.join(root, "vm", "external_libs", "llvm") | |
if @os =~ /linux/ | |
- @llvm_system_name = `lsb_release -irs`.split.join("-").downcase | |
+ begin | |
+ @llvm_system_name = `lsb_release -irs`.split.join("-").downcase | |
+ rescue Exception => e | |
+ puts " ERROR" | |
+ @llvm_system_name = nil | |
+ end | |
else | |
@llvm_system_name = nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment