From 80acbfb1078b82f157d7b001e18112e01fed261f Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Fri, 19 May 2023 01:15:09 +0200 Subject: [PATCH] set content-disposition flags in wget (--content-disposition) and curl (-J) helper downloaders to save downloaded files with correct names (no http queries) --- src/xschem.tcl | 2 +- src/xschemrc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index 704d926c..fa21c824 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -6471,7 +6471,7 @@ set_ne myload_globfilter {*} set_ne component_browser_on_top 1 ## list of tcl procedures to load at end of xschem.tcl set_ne tcl_files {} -set_ne download_url_helper {curl -f -s -O} +set_ne download_url_helper {curl -f -s -O -J} set_ne netlist_dir "$USER_CONF_DIR/simulations" # this global exists only for netlist_type radiobuttons, don't use, use [xschem] subcommand to get/set values # it is also used in xschemrc to set initial netlist type. diff --git a/src/xschemrc b/src/xschemrc index a4ed6a7c..f33f58dd 100644 --- a/src/xschemrc +++ b/src/xschemrc @@ -367,9 +367,9 @@ ########################################################################### #### WEB URL DOWNLOAD HELPER APPLICATION ########################################################################### -#### used to download files from web: default: {curl -f -s -O} -# set download_url_helper {curl -f -s -O} -# set download_url_helper {wget -N --quiet} +#### used to download files from web: default: {curl -f -s -O -J} +# set download_url_helper {curl -f -s -O -J} +# set download_url_helper {wget -N --quiet --content-disposition} ########################################################################### #### XSCHEM TOOLBAR