]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Minor cleanup.
authorSimon Ruderich <simon@ruderich.org>
Sun, 17 Mar 2013 15:43:20 +0000 (16:43 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 17 Mar 2013 15:43:20 +0000 (16:43 +0100)
setup.sh

index 81cca7656c7f01e28ce1b626ff18c33d045313e1..f7c41b910ca7b87715b49dd9ca32ed22cb5ec90e 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
 
 . ../lib.sh
 
-if [ x`os` = xdarwin ]; then
+if test x"`os`" = xdarwin; then
     # Sets a custom PATH for GUI applications.
     mkdir -p ~/.MacOSX
     link darwin/environment.plist ~/.MacOSX/environment.plist
 fi
-if [ x`os` = xdebian ]; then
+if test x"`os`" = xdebian; then
     # Necessary as aptitude rewrites the config file on every start.
     generate cat debian/aptitude/config .real
     # aptitude/config uses // as comment instead of #.