From 71cd5178407ab07ddc690a7157e6d94adafcf4a3 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Mar 2024 20:49:12 +0100 Subject: [PATCH] cmd --- bootstrap.sh | 4 ++-- {cd => cmd}/cd-browse-workspace.sh | 0 {cd => cmd}/cd-build-project.sh | 0 {cd => cmd}/cd-clone-branch.sh | 0 {cd => cmd}/cd-clone-python.sh | 0 {cd => cmd}/cd-install-packages.sh | 0 {cd => cmd}/cd-list-environment.sh | 0 {cd => cmd}/cd-synchronize.sh | 0 8 files changed, 2 insertions(+), 2 deletions(-) rename {cd => cmd}/cd-browse-workspace.sh (100%) rename {cd => cmd}/cd-build-project.sh (100%) rename {cd => cmd}/cd-clone-branch.sh (100%) rename {cd => cmd}/cd-clone-python.sh (100%) rename {cd => cmd}/cd-install-packages.sh (100%) rename {cd => cmd}/cd-list-environment.sh (100%) rename {cd => cmd}/cd-synchronize.sh (100%) diff --git a/bootstrap.sh b/bootstrap.sh index 366e2f4..8ca4573 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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}" \ diff --git a/cd/cd-browse-workspace.sh b/cmd/cd-browse-workspace.sh similarity index 100% rename from cd/cd-browse-workspace.sh rename to cmd/cd-browse-workspace.sh diff --git a/cd/cd-build-project.sh b/cmd/cd-build-project.sh similarity index 100% rename from cd/cd-build-project.sh rename to cmd/cd-build-project.sh diff --git a/cd/cd-clone-branch.sh b/cmd/cd-clone-branch.sh similarity index 100% rename from cd/cd-clone-branch.sh rename to cmd/cd-clone-branch.sh diff --git a/cd/cd-clone-python.sh b/cmd/cd-clone-python.sh similarity index 100% rename from cd/cd-clone-python.sh rename to cmd/cd-clone-python.sh diff --git a/cd/cd-install-packages.sh b/cmd/cd-install-packages.sh similarity index 100% rename from cd/cd-install-packages.sh rename to cmd/cd-install-packages.sh diff --git a/cd/cd-list-environment.sh b/cmd/cd-list-environment.sh similarity index 100% rename from cd/cd-list-environment.sh rename to cmd/cd-list-environment.sh diff --git a/cd/cd-synchronize.sh b/cmd/cd-synchronize.sh similarity index 100% rename from cd/cd-synchronize.sh rename to cmd/cd-synchronize.sh