diff options
author | Ralph Amissah <ralph@amissah.com> | 2009-07-31 23:25:11 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2009-08-02 11:59:07 -0400 |
commit | 10cf38d0cdef8df2b13a6b7ab9f4e1f9439145dc (patch) | |
tree | 22ddbd84e4649ad607b7efe984acda3ccae75ce3 /lib | |
parent | html book index, batch processing fix, re-initialize variable after use (diff) |
sysenv sha256 fix, set pwdsisu_0.71.2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v1/sysenv.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |