summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2012-10-31 10:44:25 +0000
committerBen Brewer <ben.brewer@codethink.co.uk>2012-10-31 10:44:25 +0000
commit3164d666d9618674fd90fff9ed82c4b7b9b66143 (patch)
tree8bd8ae7489dd705af3fcc62601351e3dbdc89e3e
parent4e7fa7f4f68362ee7dbeaf1927d6a011d5b57ef9 (diff)
downloadbluez-3164d666d9618674fd90fff9ed82c4b7b9b66143.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\""
]
}