From: Michael Jerris Date: Fri, 2 Apr 2010 06:08:53 +0000 (-0400) Subject: we don't always have this X-Git-Tag: v1.0.5.14226d2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14226d2;p=thirdparty%2Ffreeswitch.git we don't always have this --- 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 <