diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-30 16:32:40 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-30 16:32:40 +0100 |
commit | 481f659044c769be4a9f01e001228b2371456827 (patch) | |
tree | f112a151f7a025fbd066184b6873cbfc98fc8748 /mk | |
parent | b0e3fa69419ed832b397261739deec987adc0228 (diff) | |
download | embtoolkit-481f659044c769be4a9f01e001228b2371456827.tar.gz embtoolkit-481f659044c769be4a9f01e001228b2371456827.tar.bz2 embtoolkit-481f659044c769be4a9f01e001228b2371456827.tar.xz |
Build syste: internal macros: avoid remove of download path due to buggy package
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/macros.packages.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk index 2df52ac..f8020e1 100644 --- a/mk/macros.packages.mk +++ b/mk/macros.packages.mk @@ -599,7 +599,9 @@ define __embtk_download_pkg_patches endef define __embtk_download_pkg_exitfailure - ($(call embtk_perror,"On $(notdir $(1)) download!");rm -rf $(1);exit 1) + ($(call embtk_perror,"On $(notdir $(1)) download!"); \ + $(if $(notdir $(1)),rm -rf $(1);) \ + exit 1) endef define __embtk_svncheckout_pkg |