[add] tools:install
This commit is contained in:
parent
281e382175
commit
842ccef22f
16
tools/install
Executable file
16
tools/install
Executable file
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
## consts
|
||||||
|
|
||||||
|
dir_build="build"
|
||||||
|
|
||||||
|
|
||||||
|
## args
|
||||||
|
|
||||||
|
if [ $# -ge 1 ] ; then dir_target=$1 ; else dir_target=/usr/local/bin ; fi
|
||||||
|
|
||||||
|
|
||||||
|
## exec
|
||||||
|
|
||||||
|
cp ${dir_build}/inwx ${dir_target}/inwx
|
||||||
|
|
||||||
Loading…
Reference in a new issue