Hi,
On 08/22/2017 06:15 PM, [ext] Reichel Andreas wrote:
From: Andreas Reichel <[email protected]>
From: Reichel Andreas <[email protected]>
Only create symlink if it is not there yet.
Signed-off-by: Andreas Reichel <[email protected]>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 6038f30..2ebc4b1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -189,6 +189,6 @@ bg_printenv_DATA = bg_printenv
bg_printenvdir = $(top_srcdir)
bg_printenv: $(bg_setenv)
- $(LN_S) bg_setenv bg_printenv
+ @if [ ! -e bg_printenv ]; then $(LN_S) bg_setenv bg_printenv; fi
Doesn't make only executes this target if the file/symlink is not
current? Maybe '$(LN_S) -f' is better for the case that it thinks its
not 'current'?
Cheers,
Claudius
CLEANFILES += bg_printenv
--
You received this message because you are subscribed to the Google Groups "EFI Boot
Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/efibootguard-dev/e6c94eb0-5df8-09f4-e17a-270e14493307%40siemens.com.
For more options, visit https://groups.google.com/d/optout.