From 10cf38d0cdef8df2b13a6b7ab9f4e1f9439145dc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 31 Jul 2009 23:25:11 -0400 Subject: sysenv sha256 fix, set pwd --- CHANGELOG | 6 ++++-- conf/sisu/version1.yml | 4 ++-- data/doc/sisu/CHANGELOG | 6 ++++-- lib/sisu/v1/sysenv.rb | 1 + 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 0fd6178e..34026118 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,13 +9,15 @@ Reverse Chronological: %% STABLE MANIFEST -%% sisu_0.71.2.orig.tar.gz (2009-07-28:30/2) +%% sisu_0.71.2.orig.tar.gz (2009-08-02:30/7) http://www.jus.uio.no/sisu/pkg/src/sisu_0.71.2.orig.tar.gz sisu_0.71.2.orig.tar.gz sisu_0.71.2-1.dsc sisu_0.71.2-1.diff.gz - * html book index, batch processing fix, re-initialize variable after use + * fixes + * html book index, batch processing fix, re-initialize variable after use + * sysenv, sha256 use fix, need to set variable with pwd %% sisu_0.71.1.orig.tar.gz (2009-07-24:29/5) http://www.jus.uio.no/sisu/pkg/src/sisu_0.71.1.orig.tar.gz diff --git a/conf/sisu/version1.yml b/conf/sisu/version1.yml index e5d73c53..63106385 100644 --- a/conf/sisu/version1.yml +++ b/conf/sisu/version1.yml @@ -1,5 +1,5 @@ --- :version: 0.71.2 -:date_stamp: 2009w30/2 -:date: "2009-07-28" +:date_stamp: 2009w30/7 +:date: "2009-08-02" :project: SiSU diff --git a/data/doc/sisu/CHANGELOG b/data/doc/sisu/CHANGELOG index 0fd6178e..34026118 100644 --- a/data/doc/sisu/CHANGELOG +++ b/data/doc/sisu/CHANGELOG @@ -9,13 +9,15 @@ Reverse Chronological: %% STABLE MANIFEST -%% sisu_0.71.2.orig.tar.gz (2009-07-28:30/2) +%% sisu_0.71.2.orig.tar.gz (2009-08-02:30/7) http://www.jus.uio.no/sisu/pkg/src/sisu_0.71.2.orig.tar.gz sisu_0.71.2.orig.tar.gz sisu_0.71.2-1.dsc sisu_0.71.2-1.diff.gz - * html book index, batch processing fix, re-initialize variable after use + * fixes + * html book index, batch processing fix, re-initialize variable after use + * sysenv, sha256 use fix, need to set variable with pwd %% sisu_0.71.1.orig.tar.gz (2009-07-24:29/5) http://www.jus.uio.no/sisu/pkg/src/sisu_0.71.1.orig.tar.gz diff --git a/lib/sisu/v1/sysenv.rb b/lib/sisu/v1/sysenv.rb index c3c2a0ee..8d4636c1 100644 --- a/lib/sisu/v1/sysenv.rb +++ b/lib/sisu/v1/sysenv.rb @@ -612,6 +612,7 @@ module SiSU_Env program='openssl' program_ref="\n\t\tsha digest requested" if program_found?(program) + pwd=Dir.pwd Dir.chdir(File.dirname(filename)) dgst=%x{openssl dgst -sha256 #{File.basename(filename)}}.strip #use file name without file path Dir.chdir(pwd) -- cgit v1.2.3