Skip to content

Commit

Permalink
Bugfix: sh has '.' not 'source'.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Jun 5, 2010
1 parent 4025463 commit 48e959d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wrapper
Expand Up @@ -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
Expand Down

0 comments on commit 48e959d

Please sign in to comment.