CLI: enforce directory existence before linking on Linux (#3252)

Make `/usr/local/bin/` directory if not exists.
This commit is contained in:
2018-10-13 22:46:16 +08:00 committed by CHaBou
parent 58affc53dc
commit d1846ffd80

View file

@ -1,4 +1,6 @@
#!/bin/bash
mkdir -p /usr/local/bin
# Link to the CLI bootstrap
ln -sf '/opt/${productFilename}/resources/bin/${executable}' '/usr/local/bin/${executable}'