diff options
Diffstat (limited to 'versioncheck.sh')
| -rwxr-xr-x | versioncheck.sh | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/versioncheck.sh b/versioncheck.sh index 27c113b..3b83d81 100755 --- a/versioncheck.sh +++ b/versioncheck.sh @@ -12,9 +12,9 @@ echo -n "Binutils: "  ld --version | head -n1 | cut -d" " -f3-  bison --version | head -n1 -if [ -h /usr/bin/yacc ]; then +if [[ -h /usr/bin/yacc ]]; then      echo "/usr/bin/yacc -> $(readlink -f /usr/bin/yacc)" -elif [ -x /usr/bin/yacc ]; then +elif [[ -x /usr/bin/yacc ]]; then      echo yacc is "$(/usr/bin/yacc --version | head -n1)"  else      echo "yacc not found" @@ -27,9 +27,9 @@ diff --version | head -n1  find --version | head -n1  gawk --version | head -n1 -if [ -h /usr/bin/awk ]; then +if [[ -h /usr/bin/awk ]]; then      echo "/usr/bin/awk -> $(readlink -f /usr/bin/awk)" -elif [ -x /usr/bin/awk ]; then +elif [[ -x /usr/bin/awk ]]; then      echo awk is "$(/usr/bin/awk --version | head -n1)"  else      echo "awk not found" @@ -52,7 +52,7 @@ makeinfo --version | head -n1 # texinfo version  xz --version | head -n1  echo 'int main(){}' >dummy.c && g++ -o dummy dummy.c -if [ -x dummy ]; then +if [[ -x dummy ]]; then      echo "g++ compilation OK"  else echo "g++ compilation failed"; fi  rm -f dummy.c dummy | 
