[Buildroot] [git commit branch/next] DOWNLOAD_WGET: use -O instead of -P to set output file

Peter Korsgaard jacmet at sunsite.dk
Tue Feb 14 16:01:10 UTC 2012


>>>>> "Alvaro" == Alvaro Gamez <alvaro.gamez at hazent.com> writes:

 Alvaro> Maybe it's possible to escape them?
 Alvaro> TOOLCHAIN_EXTERNAL_SITE="http://git.xilinx.com/?p=xldk/microblaze_v2.0.git\;a=
 Alvaro> blob;f="

Yes, or use single quotes (') instead of double quotes (").

 >>        test -e $(DL_DIR)/$(2) || \
 >> -       $(WGET) -P $(DL_DIR) $(call qstrip,$(1))/$(2)
 >> +       $(WGET) -O $(DL_DIR)/$(2) $(call qstrip,$(1))/$(2)

We should probably change it to:

$(WGET) -O $(DL_DIR)/$(2) '$(call qstrip,$(1))/$(2)'

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list