[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: symlink patch
From: |
Simon Josefsson |
Subject: |
[bug-gnulib] Re: symlink patch |
Date: |
Fri, 22 Apr 2005 00:11:27 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
"Oskar Liljeblad" <address@hidden> writes:
> Here's a patch which fixes a problem with --symbolic/--symlink:
> If target file does not exist during --import, gnulib-tool will
> try to remove it resulting in an error. One way to fix this, the
> one used here, is to rm -f. Another one would be to use ln -s -f
> without the rm (is ln -f portable?). A third one to would be to
> check before running rm at all. I don't know which one is to
> prefer...
I find that avoiding 'rm' is usually better, so I'd lean towards ln -s
-f if it is portable. But it probably isn't...
> The two other patch chunks are for adding -s.
Applied, thanks!