mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	add newline to printf
This commit is contained in:
		| @@ -118,7 +118,7 @@ if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then | |||||||
| else | else | ||||||
|   if ! grep -qc 'nvm.sh' "$PROFILE"; then |   if ! grep -qc 'nvm.sh' "$PROFILE"; then | ||||||
|     echo "=> Appending source string to $PROFILE" |     echo "=> Appending source string to $PROFILE" | ||||||
|     printf "%s" "$SOURCE_STR" >> "$PROFILE" |     printf "%s\n" "$SOURCE_STR" >> "$PROFILE" | ||||||
|   else |   else | ||||||
|     echo "=> Source string already in $PROFILE" |     echo "=> Source string already in $PROFILE" | ||||||
|   fi |   fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user