summaryrefslogtreecommitdiff
path: root/hooks/evms
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/evms')
-rwxr-xr-xhooks/evms4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/evms b/hooks/evms
index 0981672..456feac 100755
--- a/hooks/evms
+++ b/hooks/evms
@@ -20,12 +20,12 @@ if [ ! -x /sbin/evms_activate ]; then
exit 0
fi
-copy_exec /sbin/evms_activate /sbin
+cp /sbin/evms_activate ${DESTDIR}/sbin
EVMS_VERSION=$(/usr/sbin/evms_query info | grep "EVMS Version" | awk '{ print $3; }')
mkdir -p ${DESTDIR}/lib/evms/${EVMS_VERSION}
for x in disk lvm2 dos multipath; do
- copy_exec /lib/evms/${EVMS_VERSION}/${x}* /lib/evms/${EVMS_VERSION}
+ cp /lib/evms/${EVMS_VERSION}/${x}* ${DESTDIR}/lib/evms/${EVMS_VERSION}
done