12 lines
277 B
Bash
Executable File
12 lines
277 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
PKG_BUILD_NAME=$1
|
|
PKG_BUILD_ROOT=$(realpath `pwd`/${PKG_BUILD_NAME})
|
|
STX_BASE=$(realpath ${MY_REPO}/stx)
|
|
SRC=$(realpath ${STX_BASE}/ha/service-mgmt/sm)
|
|
|
|
mkdir ${PKG_BUILD_NAME}
|
|
pushd ${PKG_BUILD_NAME}
|
|
cp -pr ${SRC}/{src,scripts,Makefile} ${PKG_BUILD_ROOT}/
|