From:
[email protected]
Package: liece
Version: 2.0+0.20030527cvs-7
Severity: important
emacsen-install uses wrong redirection (bashism?).
POSIX shell should use "> file 2>&1" instead of "&> file".
In POSIX shell, "command &> file" will run command in background, that is,
it is parsed as "command &" + "> file".
So, byte-compilation will fail, because both autoload-liece and compile-liece will run in background and in parallel, thus necessary files for compile-liece, which should be created by autoload-liece, don't exist when running compile-liece.
This is a patch for /usr/lib/emacsen-common/packages/install/liece (./debian/emacsen-install)
--- liece.orig 2004-08-13 12:37:11.000000000 +0900
+++ liece 2004-08-13 12:37:25.000000000 +0900
@@ -41,9 +41,9 @@
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
echo ${FLAVOR} ${FLAGS} -f autoload-liece >> ${LOG}
-"${FLAVOR}" ${FLAGS} -f autoload-liece >> ${LOG} &> ${LOG}
+"${FLAVOR}" ${FLAGS} -f autoload-liece >> ${LOG} > ${LOG} 2>&1
echo ${FLAVOR} ${FLAGS} -f compile-liece >> ${LOG}
-"${FLAVOR}" ${FLAGS} -f compile-liece >> ${LOG} &> ${LOG}
+"${FLAVOR}" ${FLAGS} -f compile-liece >> ${LOG} > ${LOG} 2>&1
FILES=`echo *.el | sed -e 's/\(liece-setup\|plum-support\|delegate\)\.el//g'`
rm -f ${FILES}
--
Fumitoshi UKAI
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)