Skip to contentSkip to conversation

Trivial patch

Xenomai-core Applied Wolfgang Denk 2 participants 2 messages Jun 2, 2006 – Jun 3, 2006

lore
Share & tools
lore
#0 lore raw

Please consider applying the following trivial patch:

prepare-kernel.sh +2 -0
Index: scripts/prepare-kernel.sh
===================================================================
@@ -1,6 +1,8 @@
 #! /bin/bash
 set -e
 
+unset CDPATH
+
 do_links() {
     ( if test -x $2; then
       cd $2 &&

This fixes a problem when you have CDPATH set in your shell - then bash will (under certain conditions) print the absolute pathname of the new working directory on standard output. This will seriously
confuse constructs like xenomai_root=cd $xenomai_root && pwd

Thanks.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Of course there's no reason for it, it's just our policy.
#1 lore raw
Quoted 1 line · Wolfgang Denk

Please consider applying the following trivial patch:

Applied, thanks.

Signature · 1 line
					    Gilles Chanteperdrix.