diff setup @ 338:94d0e4826d28

Cosmetics.
author Edho Arief <edho@myconan.net>
date Wed, 21 Mar 2012 13:01:55 +0700
parents db66d53e10ea
children 38fad89edd55
line wrap: on
line diff
--- a/setup	Tue Mar 20 21:08:55 2012 +0700
+++ b/setup	Wed Mar 21 13:01:55 2012 +0700
@@ -15,7 +15,7 @@
   _echon "${*}"; printf "\n"
 }
 _echon() {
-  printf "%s" "${*}"
+  printf '%s' "${*}"
 }
 
 _tcsh() {
@@ -28,7 +28,7 @@
 }
 
 _bash() {
-  case "$1" in
+  case "${1}" in
     uninstall|install)
       _rc "${1}" "bashrc" ".ecos_bash"
      _init "${1}" '[ -r "${HOME}/.ecos_bash" ] && . "${HOME}/.ecos_bash" #ECCORE_BASH' ".bash_profile"
@@ -38,7 +38,7 @@
 }
 
 _zsh() {
-  case "$1" in
+  case "${1}" in
     uninstall|install)
       _rc "${1}" "zshrc" ".ecos_zsh"
       _init "${1}" '[ -r "${HOME}/.ecos_zsh" ] && . "${HOME}/.ecos_zsh" #ECCORE_ZSH' ".zshrc"