Pārlūkot izejas kodu

Fix version directive lookup

I don't know how I came up with that pipe but it's certainly wrong.
Alois Mahdal 7 gadus atpakaļ
vecāks
revīzija
e75593d0cc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/include/mkit.sh

+ 1
- 1
src/include/mkit.sh Parādīt failu

@@ -113,7 +113,7 @@ _chkiniversion() {
113 113
     ver_line=$(
114 114
         {
115 115
             head -3 "$MKIT_INI"
116
-            tac "$MKIT_INI" | tail -3
116
+            tail -3 "$MKIT_INI"
117 117
         } | grep -m 1 -E '^# *mkit +version *= *v?[0-9]+\.[0-9]+\.[0-9]+'
118 118
     )
119 119
     test -n "$ver_line" \