From aaab3c7e8274d15b93cff85afeb671194c05361a Mon Sep 17 00:00:00 2001 From: Keith Date: Sat, 14 May 2016 00:52:17 +1000 Subject: [PATCH] Update zwave.markdown (#472) Changed command substitution to use $() instead of backticks. This is less ambigious for newer users. Also corrected a typo. --- source/_components/zwave.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/zwave.markdown b/source/_components/zwave.markdown index 248e7d8d369..6b7291efeb8 100644 --- a/source/_components/zwave.markdown +++ b/source/_components/zwave.markdown @@ -38,13 +38,13 @@ Then get the OpenZWave files and switch to the `python3` branch: $ git clone https://github.com/OpenZWave/python-openzwave.git $ cd python-openzwave $ git checkout python3 -$ PYTHON_EXEC=`which python3` make build -$ sudo PYTHON_EXEC=`which python3` make install +$ PYTHON_EXEC=$(which python3) make build +$ sudo PYTHON_EXEC=$(which python3) make install ```

Instead of `make install`, you can alternatively build your own python-openzwave package which can be easily uninstalled: -```$ sudo PYTHON_EXEC=`which python3` checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave``` +```$ sudo PYTHON_EXEC=$(which python3) checkinstall --pkgname python-openzwave --pkgversion 1.0 --provides python-openzwave```

@@ -89,7 +89,7 @@ $ ls /dev/ttyACM* ```

-Depending on what's plugged into your USB ports, the name found above may change. You an lock in a name, such as `/dev/zwave`, by following [these instructions](http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/). +Depending on what's plugged into your USB ports, the name found above may change. You can lock in a name, such as `/dev/zwave`, by following [these instructions](http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/).

#### {% linkable_title Events %}