Skip to contentSkip to conversation

jdepend: give the downloaded file a reasonable name

PATCH In review André Draszik 2 participants 2 messages Mar 1, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jdepend: give the downloaded file a reasonable name

From: André Draszik <[email protected]>

2.9.1.zip in the 'downloads' folder will easily be overwritten...

---
 recipes-core/jdepend/jdepend_2.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jdepend/jdepend_2.9.1.bb +1 -1
index be48325..5f09a8b 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230"
 
 HOMEPAGE = "https://github.com/clarkware/jdepend"
 
-SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip"
+SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip;downloadfilename=${BP}.zip"
 
 inherit java-library
 
Signature · 1 line
2.16.2
#1 lore raw

Hi,

Quoted 14 lines · André Draszik

From: André Draszik <[email protected]>

2.9.1.zip in the 'downloads' folder will easily be overwritten...

---
 recipes-core/jdepend/jdepend_2.9.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jdepend/jdepend_2.9.1.bb +0 -0
index be48325..5f09a8b 100644

recipes-core/jdepend/jdepend_2.9.1.bb LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230" · line 12

Quoted 8 lines
recipes-core/jdepend/jdepend_2.9.1.bb +1 -1
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f5777d32a7709d558c2877d4a6616230"
 
 HOMEPAGE = "https://github.com/clarkware/jdepend"
 
-SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip"
+SRC_URI = "https://github.com/clarkware/jdepend/archive/${PV}.zip;downloadfilename=${BP}.zip"
 
 inherit java-library
 

Thanks, Pushed to master.

Best Regards,
Maxin