diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-12-31 12:11:31 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-12-31 12:11:31 +0100 |
commit | efe591143f3df326c11eb65f5aeea419405d4b90 (patch) | |
tree | b6de3651e4c9e6729f7f4104c5034134a07186bd /admin/diff-tar-files | |
parent | 46c4bcd3927d47b1d694d80087041ef0c0112477 (diff) | |
download | emacs-efe591143f3df326c11eb65f5aeea419405d4b90.tar.gz emacs-efe591143f3df326c11eb65f5aeea419405d4b90.tar.bz2 emacs-efe591143f3df326c11eb65f5aeea419405d4b90.zip |
Fix some shellcheck linter warnings
* admin/diff-tar-files:
* admin/merge-gnulib:
* admin/merge-pkg-config:
* admin/update-copyright:
* build-aux/git-hooks/prepare-commit-msg:
* make-dist: Fix some shellcheck linter warnings.
Diffstat (limited to 'admin/diff-tar-files')
-rwxr-xr-x | admin/diff-tar-files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/diff-tar-files b/admin/diff-tar-files index cbcec862329..52c7a480a4c 100755 --- a/admin/diff-tar-files +++ b/admin/diff-tar-files @@ -35,7 +35,7 @@ old_tmp=/tmp/old.$$ new_tmp=/tmp/new.$$ trap "rm -f $old_tmp $new_tmp; exit 1" 1 2 15 -tar tzf $old_tar | sed -e 's,^[^/]*,,' | sort > $old_tmp -tar tzf $new_tar | sed -e 's,^[^/]*,,' | sort > $new_tmp +tar tzf "$old_tar" | sed -e 's,^[^/]*,,' | sort > $old_tmp +tar tzf "$new_tar" | sed -e 's,^[^/]*,,' | sort > $new_tmp diff -u $old_tmp $new_tmp rm -f $new_tmp $old_tmp |