From 725044b4bbef81a5ada289c5e8a0670087b3e260 Mon Sep 17 00:00:00 2001 From: maintenance team Date: Mon, 4 Sep 2006 09:54:59 +0000 Subject: [PATCH] *** empty log message *** --- config_files/common.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/config_files/common.sh b/config_files/common.sh index d5a3242..4f79b10 100755 --- a/config_files/common.sh +++ b/config_files/common.sh @@ -321,10 +321,16 @@ if [ -e ./build.csh ]; then cp -f ./build.csh ${install_root} fi ### !!! copying release notes -export RN=`ls ../*.pdf | sed s/[/]/" "/g | awk '{print $2}'` -if [ ! -e ${install_root}/${RN} ]; then - cp -f ../${RN} ${install_root} -fi +for p in `ls ${install_root}` ; do + export pdf=`echo ${p} | sed s/[.]/" "/g | awk '{print $2}'` + if [ ${pdf}="pdf" ]; then + export RN=$p + if [ ! -e ${install_root}/${RN} ]; then + cp -f ../${RN} ${install_root} + fi + fi +done + } #try use already existing product -- 2.39.2