Browse Source

Fixed version string comparison

Alois Mahdal 12 years ago
parent
commit
f90a75b97a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      dotfiles/git-universe/setup

+ 2
- 2
dotfiles/git-universe/setup View File

@@ -1,8 +1,8 @@
1
-#!/bin/sh
1
+#!/bin/bash
2 2
 
3 3
 gitver=`git --version | cut -d ' ' -f 3`
4 4
 
5
-if [ "$gitver" > "1.8" ]; then
5
+if [[ "$gitver" > "1.8" ]]; then
6 6
     tilde='~'
7 7
 else
8 8
     tilde=$HOME