News for hackers. Stuff that matters.
Re:Erlang Installer Beta: A Better Way To Use Erlang On OS X by thomaslee on Friday September 23, 2016 @08:05PM (#12568786)
Piling on the nitpick train :) If an error occurs along the way popd won't run, so a subshell might be a better way to accomplish the same thing:

    (
      for ...; do
        cd ...
      done
    )
    # script exits, you're back where you started
If you'd prefer to see it in isolation: pwd; ( cd /tmp; pwd ); pwd

There are no comments on this comment yet.