diff options
Diffstat (limited to 'meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch')
-rw-r--r-- | meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch b/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch new file mode 100644 index 0000000000..e535aedf51 --- /dev/null +++ b/meta-networking/recipes-support/netsniff-ng/files/0001-Cmds-automatically-create-folder.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 7c00d75d16da18a9998fc4cca28d3c953dd54ceb Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <peron.clem@gmail.com> | ||
3 | Date: Mon, 14 Feb 2022 18:37:22 +0100 | ||
4 | Subject: [PATCH] Cmds: automatically create folder | ||
5 | |||
6 | --- | ||
7 | Cmds | 3 ++- | ||
8 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
9 | |||
10 | diff --git a/Cmds b/Cmds | ||
11 | index e590b38..3df23b8 100644 | ||
12 | --- a/Cmds | ||
13 | +++ b/Cmds | ||
14 | @@ -44,7 +44,8 @@ ifeq ("$(origin PREFIX)", "$(filter $(origin PREFIX), file command line)") | ||
15 | INSTX = echo -e " INST\t$(1)" && install -d $(2) && \ | ||
16 | install -C $(1) $(2)/$(shell basename $(1)) | ||
17 | else | ||
18 | - INSTX = echo -e " INST\t$(1)" && install -C $(1) $(2)/$(shell basename $(1)) | ||
19 | + INSTX = echo -e " INST\t$(1)" && install -d $(2) && \ | ||
20 | + install -C $(1) $(2)/$(shell basename $(1)) | ||
21 | endif | ||
22 | |||
23 | MKDIR = echo -e " MKDIR\t$(1)" && mkdir -p $(1) | ||
24 | -- | ||
25 | 2.32.0 | ||
26 | |||