From 79ec1b334485eb29fc19d8fb13c2e27d238edbb1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 31 Dec 2007 13:47:58 +0000 Subject: adjustments for ruby1.9 (xmas), in sysenv moved default location of processing directory sysenv, processing in subdirectory under /tmp/_sisu_processing~ [instead of within home], (subdirectory) named after owner with permissions restricted to owner --- lib/sisu/v0/param.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/sisu/v0/param.rb') diff --git a/lib/sisu/v0/param.rb b/lib/sisu/v0/param.rb index 8bf0d760..2f2043fb 100644 --- a/lib/sisu/v0/param.rb +++ b/lib/sisu/v0/param.rb @@ -7,14 +7,14 @@ * Author: Ralph Amissah * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Ralph Amissah All Rights Reserved. + 2007, 2008 Ralph Amissah All Rights Reserved. * License: GPL 3 or later: SiSU, a framework for document structuring, publishing and search Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007 Ralph Amissah + 2007, 2008 Ralph Amissah This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -60,7 +60,9 @@ module SiSU_Param require 'uri' require 'pstore' - require 'ftools' + if RUBY_VERSION < '1.9' + require 'ftools' + end require "#{SiSU_lib}/sysenv" include SiSU_Env require "#{SiSU_lib}/param_identify_markup" -- cgit v1.2.3