Fixed bash var assignment