]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: Fix when running on unsupported OS.
authorSimon Ruderich <simon@ruderich.org>
Sun, 7 Mar 2010 17:56:46 +0000 (18:56 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 7 Mar 2010 17:56:46 +0000 (18:56 +0100)
setup.sh

index da09a70eb5bfd7c8b7b433b9aab30ec317b75439..5aaceac4c944a1e93833131993e339e41e9e1bf3 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -34,7 +34,7 @@ if installed X; then
     sed 's/^#/!/' Xdefaults > Xdefaults.tmp
     mv Xdefaults.tmp Xdefaults
 
-    if [ `os` != darwin ]; then
+    if [ x`os` != xdarwin ]; then
         link xinitrc ~/.xinitrc
     fi
     link xmodmaprc ~/.xmodmaprc