package/urg: fix extraction commands
PATCH 1/1 package/urg: fix extraction commands
Currently, the extraction commands entirely remove the urg directory, which means the downloaded stamp will get removed, and thus a subsequent build would try to re-download it.
It turns out that the directory extrqated by urg is already correctly named, so we just need to extract out of the build directory. This highly simplifies the command.
--- package/urg/urg.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
package/urg/urg.mk +1 -4
@@ -25,10 +25,7 @@ endif URG_CONFIG_SCRIPTS = c_urg-config urg-config define URG_EXTRACT_CMDS - $(RM) -rf $(URG_DIR) - $(UNZIP) -d $(BUILD_DIR)/ $(DL_DIR)/$(URG_SOURCE) - test -d $(URG_DIR) || \ - mv $(BUILD_DIR)/$(subst .zip,,$(URG_SOURCE)) $(URG_DIR) + $(UNZIP) -d $(BUILD_DIR) $(DL_DIR)/$(URG_SOURCE) endef $(eval $(autotools-package))
Signature · 1 line
2.11.0
PATCH 1/1 package/urg: fix extraction commands
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Currently, the extraction commands entirely remove the urg directory, which means the downloaded stamp will get removed, and thus a subsequent build would try to re-download it.
Quoted 6 lines
It turns out that the directory extrqated by urg is already correctly named, so we just need to extract out of the build directory. This highly simplifies the command.
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Samuel Martin <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/urg: fix extraction commands
In reply to Yann E. MORINQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Currently, the extraction commands entirely remove the urg directory, which means the downloaded stamp will get removed, and thus a subsequent build would try to re-download it.
Quoted 6 lines
It turns out that the directory extrqated by urg is already correctly named, so we just need to extract out of the build directory. This highly simplifies the command.
Signed-off-by "Yann E. MORIN" <[email protected]>Cc Samuel Martin <[email protected]>
Committed to 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard