bin/mklib: Clear CDPATH to avoid damaging expand_archive output
diff mbox

Message ID 1266791605-22944-1-git-send-email-keithp@keithp.com
State New, archived
Headers show

Commit Message

Keith Packard Feb. 21, 2010, 10:33 p.m. UTC
None

Patch
diff mbox

diff --git a/bin/mklib b/bin/mklib
index 06e8029..7f22725 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -25,6 +25,10 @@ 
 # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
 
+# Clear CDPATH as the 'cd' command will echo stuff
+# to stdout if it is set
+unset CDPATH
+
 # Given a list of files, look for .a archives and unpack them.
 # Return the original list of files minus the .a files plus the unpacked files.
 # first param:  name of a temp directory (to be deleted when finished)