Oh and perhaps change:
if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi
to
if [ ! -d "$d/debian/patches" ]; then mkdir "$d/debian/patches";
fi:) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

