From 8f4d140967a1a48cff7c7914af1e98c059d9b4e4 Mon Sep 17 00:00:00 2001 From: George Boudreau Date: Fri, 17 Mar 2006 15:13:31 +0000 Subject: [PATCH] Corrected bug related to save/restore of IFS system var --- common/common-functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/common-functions b/common/common-functions index e761fca..c9da911 100644 --- a/common/common-functions +++ b/common/common-functions @@ -589,6 +589,7 @@ get_book() { #----------------------------# build_patches_file() { # Supply a suitably formated list of patches. #----------------------------# + local saveIFS=$IFS local IFS echo -ne "Creating the patch file list " @@ -609,6 +610,7 @@ build_patches_file() { # Supply a suitably formated list of patches. IFS=$'\x0A' # Modify the 'internal field separator' to break on 'LF' only for f in `cat packages`; do + IFS=$saveIFS # Restore the system defaults LOC_add_patches_entry \ `echo $f | sed -e 's/-version//' \ -e 's/-file.*//' \