From 8a4d305843c26cba7431104d3fc9b73e3a91dcd2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 18 May 2023 05:00:38 +0100 Subject: [PATCH] Fix xz_to_bzip under Cygwin --- app/update-packaging/xz_to_bzip | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/update-packaging/xz_to_bzip b/app/update-packaging/xz_to_bzip index b1ee94868d..b06f4895a5 100755 --- a/app/update-packaging/xz_to_bzip +++ b/app/update-packaging/xz_to_bzip @@ -28,6 +28,11 @@ cd "$tmp_dir" mkdir in cd in +if [ "`uname -o 2> /dev/null`" = "Cygwin" ]; then + infile=$(cygpath -w "$infile") + outfile=$(cygpath -w "$outfile") +fi + echo "Extracting MAR" $mar -x "$infile"