tags 465748 + patch thanks On 2008-03-04 10:28 +0100, Sven Joachim wrote:
> I now have it after closely looking at your > /usr/lib/emacsen-common/packages/install/vm script. Here are the > relevant actions in that script with line numbers: > > 43: ELDIR=/usr/share/emacs/site-lisp/$PACKAGE > 44: ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE > 48: STARTFILE="$PACKAGE-init.el"; > 92: cd $ELCDIR; > 109: sed -e "s|=F|/usr/share/$FLAVOUR/site-lisp/$PACKAGE|" \ > 110: $STARTFILE > $ELCDIR/$STARTFILE; > 111: ucf $ELCDIR/$STARTFILE $STARTDIR/50$STARTFILE; > > When the shell executes the sed call in lines 109/110, it is in $ELCDIR, > thus $STARTFILE becomes $ELCDIR/$STARTFILE, and sed (and ucf in line > 111) gets an empty file as input. > > You had better feed sed with $ELDIR/$STARTFILE, I suppose that would > work. I've tested it now, and the rebuilt package works fine. So here are diff and changelog entry: --8<---------------cut here---------------start------------->8--- diff -ru vm-8.0.9.old/debian/changelog vm-8.0.9/debian/changelog --- vm-8.0.9.old/debian/changelog 2008-03-04 12:58:44.000000000 +0100 +++ vm-8.0.9/debian/changelog 2008-03-04 12:59:21.000000000 +0100 @@ -1,3 +1,9 @@ +vm (8.0.9-1sven1) unstable; urgency=low + + * debian/emacsen.install: Feed the right file to sed, closes:#465748. + + -- Sven Joachim <[EMAIL PROTECTED]> Tue, 04 Mar 2008 12:15:46 +0100 + vm (8.0.9-1) unstable; urgency=low * New upstream release diff -ru vm-8.0.9.old/debian/emacsen.install vm-8.0.9/debian/emacsen.install --- vm-8.0.9.old/debian/emacsen.install 2008-03-04 12:58:44.000000000 +0100 +++ vm-8.0.9/debian/emacsen.install 2008-03-04 12:59:21.000000000 +0100 @@ -107,7 +107,7 @@ mv $LOG $ELCDIR/install.log; chmod 644 $ELCDIR/install.log; sed -e "s|=F|/usr/share/$FLAVOUR/site-lisp/$PACKAGE|" \ - $STARTFILE > $ELCDIR/$STARTFILE; + $ELDIR/$STARTFILE > $ELCDIR/$STARTFILE; ucf $ELCDIR/$STARTFILE $STARTDIR/50$STARTFILE; if test -x /usr/sbin/install-info-altdir; then --8<---------------cut here---------------end--------------->8--- Regards, Sven -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]