Skip to content

Commit

Permalink
Not having a .bash_profile file shouldn't silently break this plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lpetre committed May 29, 2013
1 parent 0537dc4 commit 7bdacba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Perforce.py
Expand Up @@ -52,7 +52,7 @@ def on_activated(self, view):
# Utility functions
def ConstructCommand(in_command):
command = ''
if(sublime.platform() == "osx"):
if(sublime.platform() == "osx" and os.path.exists('~/.bash_profile')):
command = 'source ~/.bash_profile && '
# Revert change until threading is fixed
# command = getPerforceConfigFromPreferences(command)
Expand Down

0 comments on commit 7bdacba

Please sign in to comment.