On Wed, Aug 23, 2017 at 01:03:22PM +0200, Claudius Heine wrote: > 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? Unfortunately not.
> Maybe '$(LN_S) -f' is better for the case that it thinks its not 'current'? Didn't like the force here as the link is always good if just kept. Andreas > > Cheers, > Claudius > > > CLEANFILES += bg_printenv > > -- Andreas Reichel Dipl.-Phys. (Univ.) Software Consultant [email protected], +49-174-3180074 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082 -- 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/20170823130405.GA3583%40iiotirae. For more options, visit https://groups.google.com/d/optout.
