From 81131faadfc45bc0d76715165ed7eae3fa6c5c50 Mon Sep 17 00:00:00 2001 From: hector-baez Date: Fri, 15 Dec 2023 18:58:23 -0600 Subject: [PATCH] specify file name --- main/crux-pssh.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/crux-pssh.sh b/main/crux-pssh.sh index 38320a5..7280f50 100755 --- a/main/crux-pssh.sh +++ b/main/crux-pssh.sh @@ -37,7 +37,7 @@ if [ "$(wc -l < tmphost)" -eq 1 ]; then scp "$CONFIG" "$host:/home/$USER/crux/crux/vars/" if [ "$ASSIGN" = "TRUE" ]; then - scp ./.env $host:/home/$USER/crux/tronko/assign/jwt + scp ./.env $host:/home/$USER/crux/tronko/assign/jwt/.env fi ssh "$host" "sudo apt install awscli -y" @@ -49,7 +49,7 @@ if [ "$(wc -l < tmphost)" -eq 1 ]; then fi else if [ "$ASSIGN" = "TRUE" ]; then - parallel-scp -h tmphost ./.env /home/$USER/crux/tronko/assign/jwt + parallel-scp -h tmphost ./.env /home/$USER/crux/tronko/assign/jwt/.env fi if [ "$BRANCH" = "master" ]; then