From 58adb44400fa344248750b12379a6ff564136e38 Mon Sep 17 00:00:00 2001 From: kueller Date: Wed, 15 Jul 2009 20:24:02 +0000 Subject: [PATCH] Stabilisierung von ArchiveName (ausschaltung des src/source rewrites) git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@4823 504e572c-2e33-0410-9681-be2bf7408885 --- functions/functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/functions b/functions/functions index 4163355..fd25ae9 100644 --- a/functions/functions +++ b/functions/functions @@ -258,7 +258,7 @@ UnPack() { ArchiveName() { FILENAME=$1 - if [ "$2" ]; then + if [ "$2" == "1" ]; then FLAG=$2 else FLAG="" @@ -271,7 +271,7 @@ ArchiveName() { BASENAME=`echo $BASENAME|sed -e "s/\.$SUFFIX.*$//"` fi BASENAME=`basename $BASENAME` - if [ ! "$FLAG" ]; then + if [ ! "$FLAG" == "1" ]; then ARCHIVENAME=`echo $BASENAME|sed -e "s/src/bin/"|sed -e "s/SRC/BIN/"| \ sed -e "s/source/binary/"|sed -e "s/SOURCE/BINARY/"` else