summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/mklib4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/mklib b/bin/mklib
index 06e8029cb6d..7f2272584e5 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)