Skip to content

Commit ba00672

Browse files
Merge pull request #122 from mboffelli/patch-1
Add " to Windows command
2 parents 6e35ac3 + f538f16 commit ba00672

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gget/gget_setup.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ def setup(module, verbose=True, out=None):
155155
if platform.system() == "Windows":
156156
# The double-quotation marks allow white spaces in the path, but this does not work for Windows
157157
command = f"""
158-
curl -o {elm_instances_fasta} {ELM_INSTANCES_FASTA_DOWNLOAD} \
159-
&& curl -o {elm_classes_tsv} {ELM_CLASSES_TSV_DOWNLOAD} \
160-
&& curl -o {elm_instances_tsv} {ELM_INSTANCES_TSV_DOWNLOAD} \
161-
&& curl -o {elm_intdomains_tsv} {ELM_INTDOMAINS_TSV_DOWNLOAD}
158+
curl -o {elm_instances_fasta} \"{ELM_INSTANCES_FASTA_DOWNLOAD}\" \
159+
&& curl -o {elm_classes_tsv} \"{ELM_CLASSES_TSV_DOWNLOAD}\" \
160+
&& curl -o {elm_instances_tsv} \"{ELM_INSTANCES_TSV_DOWNLOAD}\" \
161+
&& curl -o {elm_intdomains_tsv} \"{ELM_INTDOMAINS_TSV_DOWNLOAD}\"
162162
"""
163163
print(command)
164164

0 commit comments

Comments
 (0)