瀏覽代碼

Fix typo

Indeed a weird one...
Alois Mahdal 9 年之前
父節點
當前提交
382809aafe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/include/facts.sh

+ 1
- 1
src/include/facts.sh 查看文件

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