24fd1fe6
1 2 3 4 5 6 7 8
orig=$(declare -f preConfigure) new_name="preConfigure2 ${orig#preConfigure}" eval "$new_name" preConfigure() { preConfigure2 || true }