scripts/setlocalversion: clear local variable to make it work for sh