Commit bdefe35d40c6bb5859dadee26c2e19bf58540f1d
Committed by
Sam Ravnborg
1 parent
a9eb522375
Exists in
master
and in
20 other branches
Remove bashisms from scripts
The '-e' option to echo and brace expansion are not guaranteed to be supported by a POSIX-compliant /bin/sh (e.g. dash) Signed-off-by: dann frazier <dannf@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
scripts/gcc-version.sh
scripts/ver_linux
... | ... | @@ -65,7 +65,7 @@ |
65 | 65 | ldd -v > /dev/null 2>&1 && ldd -v || ldd --version |head -n 1 | awk \ |
66 | 66 | 'NR==1{print "Dynamic linker (ldd) ", $NF}' |
67 | 67 | |
68 | -ls -l /usr/lib/lib{g,stdc}++.so 2>/dev/null | awk -F. \ | |
68 | +ls -l /usr/lib/libg++.so /usr/lib/libstdc++.so 2>/dev/null | awk -F. \ | |
69 | 69 | '{print "Linux C++ Library " $4"."$5"."$6}' |
70 | 70 | |
71 | 71 | ps --version 2>&1 | grep version | awk \ |