Protected a few if statements for pathnames with spaces
authorAndrew DeFaria <Andrew.DeFaria@Broadcom.com>
Mon, 21 Nov 2016 23:31:39 +0000 (15:31 -0800)
committerAndrew DeFaria <Andrew.DeFaria@Broadcom.com>
Mon, 21 Nov 2016 23:31:39 +0000 (15:31 -0800)
rc/bash_login

index 4d75a42..c8807d0 100644 (file)
@@ -203,11 +203,11 @@ else
   export LANG=C
 fi
 
-if [ $(type -p vim) ]; then
+if [ "$(type -p vim)" ]; then
   alias vi=vim
 fi
 
-if [ $(type -p ncftp) ]; then
+if [ "$(type -p ncftp)" ]; then
   alias ftp=ncftp
   alias ftpput=ncftpput
   alias ftpget=ncftpget