aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/env.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/env.org')
-rw-r--r--org/env.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/org/env.org b/org/env.org
index fafc90ef..36017be7 100644
--- a/org/env.org
+++ b/org/env.org
@@ -20,8 +20,8 @@
#+BEGIN_SRC ruby :tangle "../lib/sisu/se.rb"
# <<sisu_document_header>>
-@@cX=nil
module SiSU_Env
+ #@@cX=nil
require_relative 'constants' # constants.rb
require_relative 'utils' # utils.rb
require_relative 'se_date' # se_date.rb
@@ -4490,8 +4490,8 @@ consider running as separate objects
#+BEGIN_SRC ruby :tangle "../lib/sisu/se_info_env.rb"
# <<sisu_document_header>>
-@@current_document=Dir.pwd #nil #''
module SiSU_Info_Env
+ @@current_document=Dir.pwd #nil #''
require_relative 'se_envcall' # se_envcall.rb
require_relative 'html_parts' # html_parts.rb
begin
@@ -8305,8 +8305,8 @@ __END__
#+BEGIN_SRC ruby :tangle "../lib/sisu/se_standardise_lang.rb"
# <<sisu_document_header>>
-@@lang_info=nil
module SiSU_Standardise_Lang
+ @@lang_info=nil
class StandardiseLanguage
require_relative 'i18n' # i18n.rb
def initialize(l='')
@@ -8486,7 +8486,10 @@ module SiSU_Info_Version
version_details_hash[:version]
end
def version_major
- @version_major=version_details_hash[:version].gsub(/([0-9]+)\.[0-9]+\.[0-9]+/,'\1')
+ @version_major=if (version_details_hash[:version])
+ version_details_hash[:version].gsub(/([0-9]+)\.[0-9]+\.[0-9]+/,'\1')
+ else ""
+ end
end
def install_method
version_details_hash[:install_method]