From be9d93c997039930dcb8c9ccf4b5708b95d24d0f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 14 Nov 2006 23:37:16 +0100 Subject: [PATCH] Possible problem with spaces in interval names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 23:36 < dev-zero> telmich: abs_destination_dir="$(cd $destination_dir && pwd -P)" 23:36 < dev-zero> telmich: wenn das interval spaces enthält, dann auch destination_dir --- ccollect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccollect.sh b/ccollect.sh index 9ad3e86..27c70ce 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -413,7 +413,7 @@ while [ "$i" -lt "$no_sources" ]; do # # make an absolute path, perhaps $CCOLLECT_CONF is relative! # - abs_destination_dir="$(cd $destination_dir && pwd -P)" + abs_destination_dir="$(cd "$destination_dir" && pwd -P)" # # add mark