diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2019-07-10 22:24:18 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw@src.gnome.org> | 2019-07-10 22:24:18 +0800 |
commit | 31579cb708e51d4c922069d6a74bdd93914a5533 (patch) | |
tree | 966fac1c8a09a75c4f9636024b50e9d3fbb3f2f9 | |
parent | 03acad54d2ae20382fcbf0c8510bb0961039011e (diff) | |
download | mm-common-31579cb708e51d4c922069d6a74bdd93914a5533.tar.gz |
Use short options to run tar commands
Although long options are more readable, it is less supported by
non-GNU tar implementation. To ensure that the script can not only run
on GNU/Linux but also run on most *BSD, we have to use short options.
-rwxr-xr-x | util/meson_aux/skeletonmm-tarball.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/meson_aux/skeletonmm-tarball.sh b/util/meson_aux/skeletonmm-tarball.sh index 64da25d..ff50bc5 100755 --- a/util/meson_aux/skeletonmm-tarball.sh +++ b/util/meson_aux/skeletonmm-tarball.sh @@ -10,7 +10,7 @@ shift; shift # These options don't contain filenames, and thus no spaces that # must be preserved in the call to tar. -tar_options="--create --dereference --old-archive --file=-" +tar_options="-chof -" case "$output_file" in *.xz) |