fixed bash script

Signed-off-by: Tal Kain <tal@kain.net>