aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-08-29 21:26:18 -0400
committerRalph Amissah <ralph@amissah.com>2012-08-29 21:26:18 -0400
commit1d40176070feb0f19b5aa69f670d6f5bd66695ed (patch)
treea16e3fdfe6d9663eb6ec91018df073a0e6ea7b95 /lib/sisu/v3/sysenv.rb
parentv3: 3.3.3 version & changelog "opened" (diff)
v3: constants, year static (current): YEAR=2012
Diffstat (limited to 'lib/sisu/v3/sysenv.rb')
-rw-r--r--lib/sisu/v3/sysenv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index 23326b40..22b60a6d 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -87,7 +87,7 @@ module SiSU_Env
@t.month
end
def year_static
- '2012'
+ YEAR
end
end
class InfoSystem
@@ -781,7 +781,7 @@ module SiSU_Env
@texpdf
end
def latex2pdf(md,papersize='a4') #convert from latex to pdf
- tell=if @cmd =~/[MV]/
+ tell=if @cmd =~/[MV]/
''
elsif @cmd =~/[v]/
%q{2>&1 | grep -v ' WARNING '}