fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
9b75b6ee8
master
1#RUN: fish=%fish %fish %s 2#REQUIRES: command -v msgfmt 3 4set -l dir( status dirname) 5 6set -l fail_count0 7for filein $dir /../../localization/po/*.po 8# We only check the format strings. 9# Later on we might do a full "--check" to also check the headers. 10msgfmt --check-format$file 11or set fail_count( math $fail_count +1 ) 12end 13 14# Prevent setting timestamp if any errors were encountered 15if test " $fail_count " -gt 0 16exit 1 17end 18 19# No output is good output