scripts/wrapper in rvm-1.0.0 vs scripts/wrapper in rvm-1.0.1
- old
+ new
@@ -14,10 +14,10 @@
\mkdir -p "$(dirname "$file_name")"
\rm -f "$file_name"
echo "#!/usr/bin/env sh" > "$file_name"
echo "if [ -s \"${rvm_environments_path}/${environment_identifier}\" ] ; then" >> "$file_name"
- echo " . \"${rvm_environments_path}/${environment_identifier}\"" >> "$file_name"
+ echo " \\. \"${rvm_environments_path}/${environment_identifier}\"" >> "$file_name"
echo " exec $binary_name \"\$@\"" >> "$file_name"
echo "else" >> $file_name
echo " echo \"ERROR: Missing RVM environment file: '${rvm_environments_path}/${environment_identifier}'\"" >> $file_name
echo " exit 1" >> $file_name
echo "fi" >> $file_name