More bash friendly changes for the script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user