5 Sep
2006
5 Sep
'06
08:44
On Monday 04 September 2006 18:02, Stan Novogroudski wrote:
in create_update_source.sh line 101
if ! [[ "$VALUE" -eq "SHA1" ]]; then
instead of
if ! [[ "$VALUE" =~ "SHA1" ]]; then
Operator =~ is used in Perl, not in shell.
ug@taylor:~> VALUE="UWE"; if [[ "$VALUE" =~ "WE" ]]; then echo "jo"; fi jo ug@taylor:~> but you are right, that does not work on SLES9 -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Agonoize - Open The Gate