Просмотр исходного кода

Fix typo in newproject sed -i for Mac

For Mac there should be a space in: sed -i ""
Nick Landry 11 лет назад
Родитель
Сommit
6dbf8122b7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      newproject.sh

+ 1 - 1
newproject.sh

@@ -21,7 +21,7 @@ shopt -s expand_aliases
 
 #Alias the sed in-place command for OSX and Linux - incompatibilities between BSD and Linux sed args
 if [[ "$unamestr" == "Darwin" ]]; then
-	alias aliassedinplace='sed -i""'
+	alias aliassedinplace='sed -i ""'
 else
 	#For Linux, notice no space after the '-i' 
 	alias aliassedinplace='sed -i""'