make clean does not remove bg_printenv symlink

5 views
Skip to first unread message

Christian Storm

unread,
Jun 28, 2017, 3:40:27 AM6/28/17
to efibootg...@googlegroups.com
Hi,

I think make clean has a bug as it doesn't remove
the symlink bg_printenv -> bg_setenv as can be seen
when executing the following commands:

$ git clone https://github.com/siemens/efibootguard.git
$ cd efibootguard
$ autoreconf -fi
$ ./configure
$ make
$ make clean
$ make
```
make --no-print-directory all-am
ln -s bg_setenv bg_printenv
ln: failed to create symbolic link 'bg_printenv': File exists
make[1]: *** [Makefile:1194: bg_printenv] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:486: all] Error 2
```
When then doing a
$ rm bg_printenv
$ make
it works.

So it should either be ln -sf or make clean should remove the
stale symlink.


Kind regards,
Christian

--
Dr. Christian Storm
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Otto-Hahn-Ring 6, 81739 München, Germany
Reply all
Reply to author
Forward
0 new messages