aboutsummaryrefslogtreecommitdiffstats
path: root/versioncheck.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:11:06 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-23 13:11:06 -0500
commit47a42fae330ba2f59f04d2ba630da49237da914e (patch)
tree1f870d1c1e814723c8ff03560b5c355e000afc92 /versioncheck.sh
parentba6db389412d48b20ba81bb5fb373b93b08659f1 (diff)
Cleanup versioncheck.sh.
Diffstat (limited to 'versioncheck.sh')
-rwxr-xr-xversioncheck.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/versioncheck.sh b/versioncheck.sh
index ed1caa7..27c113b 100755
--- a/versioncheck.sh
+++ b/versioncheck.sh
@@ -5,7 +5,7 @@ export LC_ALL=C
bash --version | head -n1 | cut -d" " -f2-4
MYSH=$(readlink -f /bin/sh)
echo "/bin/sh -> $MYSH"
-echo $MYSH | grep -q bash || echo "ERROR: /bin/sh does not point to bash"
+echo "$MYSH" | grep -q bash || echo "ERROR: /bin/sh does not point to bash"
unset MYSH
echo -n "Binutils: "
@@ -15,7 +15,7 @@ bison --version | head -n1
if [ -h /usr/bin/yacc ]; then
echo "/usr/bin/yacc -> $(readlink -f /usr/bin/yacc)"
elif [ -x /usr/bin/yacc ]; then
- echo yacc is $(/usr/bin/yacc --version | head -n1)
+ echo yacc is "$(/usr/bin/yacc --version | head -n1)"
else
echo "yacc not found"
fi
@@ -30,7 +30,7 @@ gawk --version | head -n1
if [ -h /usr/bin/awk ]; then
echo "/usr/bin/awk -> $(readlink -f /usr/bin/awk)"
elif [ -x /usr/bin/awk ]; then
- echo awk is $(/usr/bin/awk --version | head -n1)
+ echo awk is "$(/usr/bin/awk --version | head -n1)"
else
echo "awk not found"
fi
@@ -44,7 +44,7 @@ cat /proc/version
m4 --version | head -n1
make --version | head -n1
patch --version | head -n1
-echo Perl $(perl -V:version)
+echo Perl "$(perl -V:version)"
python3 --version
sed --version | head -n1
tar --version | head -n1
@@ -55,4 +55,4 @@ echo 'int main(){}' >dummy.c && g++ -o dummy dummy.c
if [ -x dummy ]; then
echo "g++ compilation OK"
else echo "g++ compilation failed"; fi
-rm -f dummy.c dummy \ No newline at end of file
+rm -f dummy.c dummy