Efraimov Oren test_and_ci last 3 years


 0 Collaborator

 2 Patch
c74bcc09ad1f7348d08cf3722d8098af3df77f28, 87290c1fb4d0fec34c3a07a453719d599364f065

c74bcc09ad1f7348d08cf3722d8098af3df77f28 | Author: Efraimov Oren <orenef11@gmail.com>
 | 2022-01-19 16:31:04+02:00

    fix(scripts/cassandra-harry): Fixing bash if condition
    
    Some IFs were contained incorrect conditions because of test leftover.

87290c1fb4d0fec34c3a07a453719d599364f065 | Author: Efraimov Oren <orenef11@gmail.com>
 | 2022-01-13 18:21:22+02:00

    fix(scripts/cassandra-harry): Fixing bash if condition
    
    The correct way to check if variable is set is:
    ```bash
    if [ -z ${var+x} ]; then
       echo "var is unset"
    else
       echo "var is set to '$var'"
    fi
    ```
    
    For more information please check the following link:
    https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash