aboutsummaryrefslogtreecommitdiff
path: root/scripts/sync-translations.sh
diff options
context:
space:
mode:
authornixpkgs-review <nixpkgs-review@example.com>2020-11-05 12:03:02 -0300
committernixpkgs-review <nixpkgs-review@example.com>2020-11-05 12:03:02 -0300
commit35b85165b5c0a2c961dbf7ce6ace7e6719a6cb05 (patch)
tree87a168b6de429520c0d13fc882c99ad23b48002e /scripts/sync-translations.sh
parentRemove FIXME and filter locale from check (diff)
downloadeuandre.org-35b85165b5c0a2c961dbf7ce6ace7e6719a6cb05.tar.gz
euandre.org-35b85165b5c0a2c961dbf7ce6ace7e6719a6cb05.tar.xz
Fix 'nix-build -A test' run
Diffstat (limited to 'scripts/sync-translations.sh')
-rwxr-xr-xscripts/sync-translations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sync-translations.sh b/scripts/sync-translations.sh
index 7256f6e..e866dbb 100755
--- a/scripts/sync-translations.sh
+++ b/scripts/sync-translations.sh
@@ -9,7 +9,7 @@ set -x
./scripts/apply-translations.sh
if [[ "${1:-}" = '--check' ]]; then
- git diff --quiet || {
+ git diff --quiet -- '!scripts/' || {
echo 'Translations are out of sync'
exit 1
}