From e56a7c5fb07bf59167be11ed1a7ba813c65f58d1 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sun, 2 Nov 2008 02:55:34 +0000 Subject: [PATCH] Fix how directory trees are created in update-cd. Closes: #503911 --- debian/changelog | 1 + update-cd | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index e1cb4579..8e674450 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ debian-cd (3.0.6) UNRELEASED; urgency=low [ Steve McIntyre ] * Rename list2cds to sort_deps + * Fix how directory trees are created in update-cd. Closes: #503911 -- Frans Pop Sun, 02 Nov 2008 00:03:00 +0100 diff --git a/update-cd b/update-cd index c3435f38..47d79769 100755 --- a/update-cd +++ b/update-cd @@ -149,7 +149,7 @@ copy_file () { ROOTDIR=$1 shift FILE=$1 - DIR=`echo $FILE | sed 's?/[-_\.A-Za-z0-9\+]*$??'` + DIR=`dirname $FILE` if [ ! -d $ROOTDIR/$DIR ] ; then mkdir -p $ROOTDIR/$DIR fi