[add] tools:install
This commit is contained in:
parent
9e7646dd9e
commit
a4fedf45f5
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}/type2 ${dir_target}/type2
|
||||
|
||||
Loading…
Reference in a new issue