one more bug fix, to updater output

This commit is contained in:
Harald Hope 2017-07-29 16:54:59 -07:00
parent 86de557040
commit 583e16b22b

4
inxi
View file

@ -1069,19 +1069,21 @@ parse_version_data()
SELF_DATE=$( gawk -F '=' ' SELF_DATE=$( gawk -F '=' '
/^SELF_DATE/ { /^SELF_DATE/ {
print $NF print $NF
break exit
}' "$SELF_PATH/$SELF_NAME" ) }' "$SELF_PATH/$SELF_NAME" )
;; ;;
main) main)
SELF_VERSION=$( gawk -F '=' ' SELF_VERSION=$( gawk -F '=' '
/^SELF_VERSION/ { /^SELF_VERSION/ {
print $NF print $NF
exit
}' "$SELF_PATH/$SELF_NAME" ) }' "$SELF_PATH/$SELF_NAME" )
;; ;;
patch) patch)
SELF_PATCH=$( gawk -F '=' ' SELF_PATCH=$( gawk -F '=' '
/^SELF_PATCH/ { /^SELF_PATCH/ {
print $NF print $NF
exit
}' "$SELF_PATH/$SELF_NAME" ) }' "$SELF_PATH/$SELF_NAME" )
;; ;;
esac esac