summaryrefslogtreecommitdiffstats
path: root/bin/ltmain.sh
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-09-24 22:35:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-09-24 22:35:30 (GMT)
commiteea89e1e6cc4ca6f743e00b3056ab91befd2511f (patch)
tree4575c4861be3d51ed4fe227d0fa85b349ef29842 /bin/ltmain.sh
parentaeb5116600a32c79125e7d66e6224683f7dbae27 (diff)
downloadhdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.zip
hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.gz
hdf5-eea89e1e6cc4ca6f743e00b3056ab91befd2511f.tar.bz2
[svn-r1651] Fold in J90 changes
Diffstat (limited to 'bin/ltmain.sh')
-rw-r--r--bin/ltmain.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ltmain.sh b/bin/ltmain.sh
index e9350b3..414c582 100644
--- a/bin/ltmain.sh
+++ b/bin/ltmain.sh
@@ -2172,7 +2172,9 @@ libdir='$install_libdir'\
if test -z "$run"; then
# Export the shlibpath_var.
- eval "export $shlibpath_var"
+ if test -n "$shlibpath_var"; then
+ eval "export $shlibpath_var"
+ fi
# Now actually exec the command.
eval "exec \$cmd$args"