Permalink
Browse files
Removed --rsyncable from gzip invokation for portablity
- Loading branch information...
Showing
with
3 additions
and
3 deletions.
-
+1
−1
clipper/ea-bcl2fastq.cpp
-
+1
−1
clipper/fastq-lib.cpp
-
+1
−1
clipper/mirna-quant.cpp
|
|
@@ -290,7 +290,7 @@ int main (int argc, char **argv) { |
|
|
++output_fnum; // output file number is sequential
|
|
|
masks[i].rnum=output_fnum; // save file number as "read number"
|
|
|
if (usegz) {
|
|
|
- outtmp = string_format("gzip -2 --rsyncable -c > %s.%d.fq.gz",out.c_str(),output_fnum);
|
|
|
+ outtmp = string_format("gzip -2 -c > %s.%d.fq.gz",out.c_str(),output_fnum);
|
|
|
fo=popenordie(outtmp.c_str(),"w");
|
|
|
} else {
|
|
|
outtmp = string_format("%s.%d.fq",out.c_str(),output_fnum);
|
|
|
|
|
|
@@ -160,7 +160,7 @@ FILE *gzopen(const char *f, const char *m, bool*isgz) { |
|
|
if (!strcmp(ext,".gz")) {
|
|
|
char *tmp=(char *)malloc(strlen(f)+100);
|
|
|
if (strchr(m,'w')) {
|
|
|
- strcpy(tmp, "gzip -3 --rsyncable > '");
|
|
|
+ strcpy(tmp, "gzip -3 > '");
|
|
|
strcat(tmp, f);
|
|
|
strcat(tmp, "'");
|
|
|
} else {
|
|
|
|
|
|
@@ -681,7 +681,7 @@ FILE *gzopen(const char *f, const char *m, bool*isgz) { |
|
|
if (!strcmp(fext(f),".gz")) {
|
|
|
char *tmp=(char *)malloc(strlen(f)+100);
|
|
|
if (strchr(m,'w')) {
|
|
|
- strcpy(tmp, "gzip --rsyncable > '");
|
|
|
+ strcpy(tmp, "gzip > '");
|
|
|
strcat(tmp, f);
|
|
|
strcat(tmp, "'");
|
|
|
} else {
|
|
|
|
0 comments on commit
b6455be