Prova att ändra:

#! /bin/sh

till:

#! /bin/sh -x

Dvs. kör sh i debug-läge.

Det borde ge en del intressant output :)

/tg


Till