mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
test: Use = instead of == for testing string equality in bash script.
Found by make syntax-check.
This commit is contained in:
@@ -64,7 +64,7 @@ if [ x"`wc -l stamp-script4.sh | awk '{print $1}'`" != x2 ]; then
|
||||
echo "$0: stamp-script4.sh does not contain two lines."
|
||||
exit 1
|
||||
fi
|
||||
if [ x"`head -n1 stamp-script4.sh`" == x"`tail -n1 stamp-script4.sh`" ]; then
|
||||
if [ x"`head -n1 stamp-script4.sh`" = x"`tail -n1 stamp-script4.sh`" ]; then
|
||||
echo "$0: stamp-script4.sh does not contain different paths."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user