1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

put dmeventd into the LD_LIBRARY_PATH for lvm-wrapper

This commit is contained in:
Zdenek Kabelac 2008-08-05 12:32:08 +00:00
parent e2151fb4af
commit 3cbf52c97d

View File

@ -63,7 +63,7 @@ lvm-wrapper: Makefile
rm -f $@-t $@
echo '#!/bin/sh' > $@-t
test -n "@DMDIR@" \
&& echo 'export LD_LIBRARY_PATH="@DMDIR@/lib"' >> $@-t
&& echo 'export LD_LIBRARY_PATH="@DMDIR@/lib:@DMDIR@/dmeventd"' >> $@-t
echo 'cmd=$$(echo ./$$0|sed "s,.*/,,")' >> $@-t
echo 'test "$$cmd" = lvm &&' >> $@-t
echo 'exec "$(abs_top_builddir)/tools/lvm" "$$@"' >> $@-t