Supersymmetric gauge anomaly with general homotopic paths