summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch')
-rw-r--r--meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
index fb7b287599..8c8f3b717c 100644
--- a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
+++ b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
@@ -22,7 +22,7 @@ index f4a26f5..7bc748e 100644
22 # and if that fails, reaching for the source tarball is the safest option. 22 # and if that fails, reaching for the source tarball is the safest option.
23 $(CROSSPATCHED): %.applied: %.patch 23 $(CROSSPATCHED): %.applied: %.patch
24- patch -p1 -i $< && touch $@ 24- patch -p1 -i $< && touch $@
25+ test ! -f $@ && (patch -p1 -i $< && touch $@) 25+ test ! -f $@ && (patch -p1 -i $< && touch $@) || echo "$@ exist"
26 26
27 # ---[ common ]----------------------------------------------------------------- 27 # ---[ common ]-----------------------------------------------------------------
28 28