comparison tests/run-tests @ 2023:3bdd3bf17cfa

Use [ x = y ] instead of [ x == y ] in shell scripts.
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 30 Mar 2006 18:43:46 +0200
parents f4df34b6987f
children a4c271765415 4a49daa3a40c
comparison
equal deleted inserted replaced
2022:a59da8cc35e4 2023:3bdd3bf17cfa
18 HGEDITOR=true; export HGEDITOR 18 HGEDITOR=true; export HGEDITOR
19 HGMERGE=true; export HGMERGE 19 HGMERGE=true; export HGMERGE
20 HGUSER="test"; export HGUSER 20 HGUSER="test"; export HGUSER
21 HGRCPATH=""; export HGRCPATH 21 HGRCPATH=""; export HGRCPATH
22 22
23 if [ `echo -n HG` == "-n HG" ] 23 if [ `echo -n HG` = "-n HG" ]
24 then 24 then
25 ECHO_N=echo 25 ECHO_N=echo
26 NNL="\c" 26 NNL="\c"
27 else 27 else
28 ECHO_N="echo -n" 28 ECHO_N="echo -n"