Permalink
Browse files

Make the .bash_profile file optional

  • Loading branch information...
1 parent ef49a53 commit 6580200ac559576b72dfc92af7f228bf158d49a0 @dazoakley dazoakley committed Mar 26, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 data/templates/run.erb
View
5 data/templates/run.erb
@@ -1,7 +1,10 @@
#!/bin/sh
exec 2>&1
-source ~/.bash_profile
+if [[ -e ~/.bash_profile ]]
+then
+ source ~/.bash_profile
+fi
<% environment.each do |key, value| %>
export <%= key %>=<%= value%>

0 comments on commit 6580200

Please sign in to comment.