From 31579cb708e51d4c922069d6a74bdd93914a5533 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Wed, 10 Jul 2019 22:24:18 +0800 Subject: 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. --- util/meson_aux/skeletonmm-tarball.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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) -- cgit v1.2.1