Browse Source

Fix typo

Indeed a weird one...
Alois Mahdal 9 years ago
parent
commit
382809aafe
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/include/facts.sh

+ 1
- 1
src/include/facts.sh View File

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