Handle XZ in %uncompress macro

- should've been in commit 8078d0ba24
This commit is contained in:
Panu Matilainen 2009-03-27 14:11:43 +02:00
parent a392276083
commit 3d63df6220
1 changed files with 3 additions and 0 deletions

View File

@ -981,6 +981,9 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
case COMPRESSED_LZMA: case COMPRESSED_LZMA:
sprintf(be, "%%__lzma -dc %s", b); sprintf(be, "%%__lzma -dc %s", b);
break; break;
case COMPRESSED_XZ:
sprintf(be, "%%__xz -dc %s", b);
break;
} }
b = be; b = be;
} else if (STREQ("getenv", f, fn)) { } else if (STREQ("getenv", f, fn)) {