Explorar el Código

Fix typo

Indeed a weird one...
Alois Mahdal hace 9 años
padre
commit
382809aafe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/include/facts.sh

+ 1
- 1
src/include/facts.sh Ver fichero

@@ -168,7 +168,7 @@ semver() {
168 168
             *)   suffix=MKIT_BUG;
169 169
                  warn "MKIT_BUG: bad dirt/commit detection" ;;
170 170
         esac
171
-        test -b "$prerl" && suffix="-$prerl$suffix"
171
+        test -n "$prerl" && suffix="-$prerl$suffix"
172 172
         version="$version$suffix"
173 173
     fi
174 174
     echo "$version"