Oops, fix my previous commit (r85583) on calculate_path()

path value may be changed, so keep a copy in a new variable.
1 file changed