Skip to content

Instantly share code, notes, and snippets.

@selman
Created June 19, 2010 07:44
Show Gist options
  • Save selman/444687 to your computer and use it in GitHub Desktop.
Save selman/444687 to your computer and use it in GitHub Desktop.
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