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
 
 CLEANFILES += bg_printenv
-- 
2.13.3

-- 
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/20170822161551.12662-2-andreas.reichel.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to