Set working directory during xone
installation
This commit is contained in:
parent
f84728e3a0
commit
9ed5b7c74c
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
contextRoot="$(mktemp -d)";
|
||||
pushd "$contextRoot";
|
||||
git clone "https://github.com/dlundqvist/xone.git" "$contextRoot";
|
||||
sudo "$contextRoot/install.sh" --release;
|
||||
yes "" | sudo xone-get-firmware.sh;
|
||||
popd "$contextRoot";
|
||||
rm -rf "$contextRoot";
|
||||
|
|
Loading…
Reference in a new issue