Fix how directory trees are created in update-cd. Closes: #503911

This commit is contained in:
Steve McIntyre 2008-11-02 02:55:34 +00:00
parent 7b759c8cd8
commit e56a7c5fb0
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -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 <fjp@debian.org> Sun, 02 Nov 2008 00:03:00 +0100

View File

@ -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