Permalink
Browse files

Bugfix: sh has '.' not 'source'.

  • Loading branch information...
1 parent 4025463 commit 48e959d5b88eb0966049fbca596e218b33d482b9 @wayneeseguin wayneeseguin committed Jun 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/wrapper
View
@@ -20,7 +20,7 @@ wrap() {
mkdir -p "$(dirname "$file_name")"
rm -f "$file_name"
printf "#!/usr/bin/env sh\n" > "$file_name"
- printf "source \"${rvm_environments_path}/${environment_identifier}\"\n" >> "$file_name"
+ printf ". \"${rvm_environments_path}/${environment_identifier}\"\n" >> "$file_name"
printf "exec $binary_name \"\$@\"\n" >> "$file_name"
if [[ -f $file_name ]] ; then chmod +x $file_name ; fi

0 comments on commit 48e959d

Please sign in to comment.