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