cmd
This commit is contained in:
parent
c1aad03c68
commit
71cd517840
8 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
FILE="$(realpath "${BASH_SOURCE[0]}")"
|
||||
NAME="$(basename "${GITHUB_REPOSITORY}")"
|
||||
ROOT="$(dirname "${FILE}")"
|
||||
|
||||
COMMANDS='cmd'
|
||||
KEY_ALGORITHM='ed25519'
|
||||
KEY_DIRECTORY='.ssh'
|
||||
KEY_PATH="${KEY_DIRECTORY}/id_${KEY_ALGORITHM}"
|
||||
|
@ -15,7 +15,7 @@ SERVER="$(basename ${GITHUB_SERVER_URL})"
|
|||
TARGET='/usr/local/sbin'
|
||||
|
||||
# commands
|
||||
cd "${ROOT}/${NAME}" \
|
||||
cd "${ROOT}/${COMMANDS}" \
|
||||
|| exit
|
||||
for file in *.sh ; do
|
||||
cp "${file}" "${TARGET}" \
|
||||
|
|
Loading…
Reference in a new issue