mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-26 03:22:12 +03:00
put dmeventd into the LD_LIBRARY_PATH for lvm-wrapper
This commit is contained in:
parent
04c0dba697
commit
c54a3f2721
@ -63,7 +63,7 @@ lvm-wrapper: Makefile
|
|||||||
rm -f $@-t $@
|
rm -f $@-t $@
|
||||||
echo '#!/bin/sh' > $@-t
|
echo '#!/bin/sh' > $@-t
|
||||||
test -n "@DMDIR@" \
|
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 'cmd=$$(echo ./$$0|sed "s,.*/,,")' >> $@-t
|
||||||
echo 'test "$$cmd" = lvm &&' >> $@-t
|
echo 'test "$$cmd" = lvm &&' >> $@-t
|
||||||
echo 'exec "$(abs_top_builddir)/tools/lvm" "$$@"' >> $@-t
|
echo 'exec "$(abs_top_builddir)/tools/lvm" "$$@"' >> $@-t
|
||||||
|
Loading…
Reference in New Issue
Block a user