summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2012-10-31 10:44:25 +0000
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>2012-12-13 11:02:27 +0000
commitfc1d052f7c643c20407474fd7e4e101f46c46842 (patch)
treedc9a08fa5d38ee46342eb2b33bc3d2d655286f2b
parent976324ea8fea916acd6f682eee20adb5024f4957 (diff)
downloadbluez-fc1d052f7c643c20407474fd7e4e101f46c46842.tar.gz
Correctly use $DESTDIR in service install
-rw-r--r--bluez.morph4
1 files changed, 2 insertions, 2 deletions
diff --git a/bluez.morph b/bluez.morph
index 1a5978aa8..6bd992366 100644
--- a/bluez.morph
+++ b/bluez.morph
@@ -9,7 +9,7 @@
],
"install-commands": [
"make install",
- "mkdir -p /etc/systemd/systsem/bluetooth.target.wants",
- "ln -s /lib/systemd/system/bluetooth.service /etc/systemd/system/bluetooth.target.wants/bluetooth.service"
+ "mkdir -p \"$DESTDIR/etc/systemd/systsem/bluetooth.target.wants\"",
+ "ln -s /lib/systemd/system/bluetooth.service \"$DESTDIR/etc/systemd/system/bluetooth.target.wants/bluetooth.service\""
]
}