[PATCH util-modular] release.sh: fix typo - properly check for .xz
Gaetan Nadon
memsize at videotron.ca
Fri Nov 1 00:54:24 CET 2013
On 13-10-31 06:44 PM, Peter Hutterer wrote:
> Introduced in 88feb98fee19a5f2a847d040affcc92f209967cb
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> release.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/release.sh b/release.sh
> index 8c0006c..a4a725d 100755
> --- a/release.sh
> +++ b/release.sh
> @@ -291,7 +291,7 @@ process_module() {
>
> [ -e $targz ] && ls -l $targz || unset targz
> [ -e $tarbz2 ] && ls -l $tarbz2 || unset tarbz2
> - [ -e $targz ] && ls -l $tarxz || unset tarxz
> + [ -e $tarxz ] && ls -l $tarxz || unset tarxz
>
> if [ -z "$targz" -a -z "$tarbz2" -a -z "$tarxz" ]; then
> echo "Error: no compatible tarballs found."
Already fixed by Dave Airlie <airlied at redhat.com>
http://cgit.freedesktop.org/xorg/util/modular/commit/release.sh?id=1668253a2a090d22ad44ae5bd2413ea4e5c25da0
diff --git a/release.sh b/release.sh
index 8c0006c..a4a725d 100755
--- a/release.sh
+++ b/release.sh
@@ -291,7 +291,7 @@ process_module() {
[ -e $targz ] && ls -l $targz || unset targz
[ -e $tarbz2 ] && ls -l $tarbz2 || unset tarbz2
- [ -e $targz ] && ls -l $tarxz || unset tarxz
+ [ -e $tarxz ] && ls -l $tarxz || unset tarxz
if [ -z "$targz" -a -z "$tarbz2" -a -z "$tarxz" ]; then
echo "Error: no compatible tarballs found."
Unless I am missing something.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131031/dd8cc20e/attachment.html>
More information about the xorg-devel
mailing list