diff --git a/scripts/tagscript.sh b/scripts/tagscript.sh index 7556c075d0..b3705b300d 100755 --- a/scripts/tagscript.sh +++ b/scripts/tagscript.sh @@ -64,7 +64,7 @@ rm -rf .git cd .. tar -czvf $dst_name.tar.gz $dst_dir tar -cjvf $dst_name.tar.bz2 $dst_dir -tar -cJvf $dst_name.tar.xz $dst_dir +tar -cJvf $dst_name.tar.xz $dst_dir || echo tar does not support -J rm -rf $dst_dir cat 1>&2 <