17 lines
188 B
Bash
Executable file
17 lines
188 B
Bash
Executable file
#!/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
|
|
|