bin/mklib: Clear CDPATH to avoid damaging expand_archive output
authorKeith Packard <keithp@keithp.com>
Sun, 21 Feb 2010 22:30:00 +0000 (14:30 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 22 Feb 2010 17:56:58 +0000 (09:56 -0800)
commitedd85bcd6bc92beaf266a602da76d2aefe836a8e
treecfb34302d546d9cea33d96c3633d7ba03230eba0
parent52cc3b03c3950cd66f9d976b2a3ae9f89dc4a97b
bin/mklib: Clear CDPATH to avoid damaging expand_archive output

The bash 'cd' command tends to emit random stuff to stdout when the
CDPATH variable is set, so clear it to keep extra filenames from being
emitted from the expand_archive function, which would otherwise cause
mklib to fail.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
bin/mklib