Explorar el Código

Fixed version string comparison

Alois Mahdal hace 12 años
padre
commit
f90a75b97a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      dotfiles/git-universe/setup

+ 2
- 2
dotfiles/git-universe/setup Ver fichero

@@ -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