diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-08-06 20:37:28 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-09-05 16:05:44 +0300 |
commit | f138bdf76a70029e8360062a0b227936b83b24c9 (patch) | |
tree | 6443ad2afcb5333739b77f7109e364b578eb17cf /configure.ac | |
parent | Fix exit status of "xzdiff foo.xz bar.xz". (diff) | |
download | xz-f138bdf76a70029e8360062a0b227936b83b24c9.tar.xz |
Run the scripts with the correct shell in test_scripts.sh.
The scripts are now made executable in the build tree.
This way the scripts can be run like programs in
test_scripts.sh. Previously test_scripts.sh always
used sh but it's not correct if @POSIX_SHELL@ is set
to something else by configure.
Thanks to Jonathan Nieder for the patch.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 39fd0ef4..9bc1e895 100644 --- a/configure.ac +++ b/configure.ac @@ -627,13 +627,13 @@ AC_CONFIG_FILES([ src/xzdec/Makefile src/lzmainfo/Makefile src/scripts/Makefile - src/scripts/xzdiff - src/scripts/xzgrep - src/scripts/xzmore - src/scripts/xzless tests/Makefile debug/Makefile ]) +AC_CONFIG_FILES([src/scripts/xzdiff], [chmod +x src/scripts/xzdiff]) +AC_CONFIG_FILES([src/scripts/xzgrep], [chmod +x src/scripts/xzgrep]) +AC_CONFIG_FILES([src/scripts/xzmore], [chmod +x src/scripts/xzmore]) +AC_CONFIG_FILES([src/scripts/xzless], [chmod +x src/scripts/xzless]) AC_OUTPUT |