pythonbrew icon indicating copy to clipboard operation
pythonbrew copied to clipboard

Support noclobber option of bash

Open norioxkimura opened this issue 12 years ago • 0 comments

The line of .pythonbrew/etc/bashrc:

        cat /dev/null > "$PATH_HOME_ETC/venv.run"

should be changed to:

        cat /dev/null >| "$PATH_HOME_ETC/venv.run"

When noclobber option is set by 'set -o noclobber', redirections to existing files fail. '>|' overrides this behavior.

norioxkimura avatar Apr 16 '12 20:04 norioxkimura