More bash friendly changes for the script

This commit is contained in:
aboyko
2023-06-12 21:47:30 -04:00
parent f56fcf3cdb
commit 933ab2939e

View File

@@ -11,7 +11,7 @@ then
echo "Looking at: $1/$file"
extension="${file##*.}"
echo "Detected extension = $extension"
if [ $extension == "jar" ]
Mo if [ "$extension" = "jar" ]
then
echo "Copying $file to remote machine..."
scp -i $SSH_KEY $1/$file $SSH_USER@vm-tools.spring.vmware.com:/opt/bamboo