]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Be more compatible.
authorSimon Ruderich <simon@ruderich.org>
Sat, 13 Mar 2010 22:01:19 +0000 (23:01 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 13 Mar 2010 22:01:19 +0000 (23:01 +0100)
setup.sh

index 66a700133e0868682379cd84b799ad00c776adb5..ed385678d1d7ea579d7d3cb74701c44165b5b53d 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -5,12 +5,12 @@
 
 . ../lib.sh
 
-if [ `os` = darwin ]; then
+if [ x`os` = xdarwin ]; then
     # Sets a custom PATH for GUI applications.
     mkdir -p ~/.MacOSX
     link darwin/environment.plist ~/.MacOSX/environment.plist
 fi
-if [ `os` = debian ]; then
+if [ 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 #.