[darcs-users] darcs patch: avoid ln -f flag to fix api doc building

Trent W. Buck trentbuck at gmail.com
Wed Dec 10 00:21:17 UTC 2008


Simon Michael <simon at joyful.com> writes:

> Tue Dec  9 12:46:55 PST 2008  Simon Michael <simon at joyful.com>
>   * avoid ln -f flag to fix api doc building
>
> New patches:
>
> [avoid ln -f flag to fix api doc building
> Simon Michael <simon at joyful.com>**20081209204655
>  Ignore-this: b09aa246e752cfa0a701090b9b94252
> ] hunk ./GNUmakefile 207
>  HOOGLEVER=`$(HOOGLE) --version |tail -n 1 | sed -e 's/Version /hoogle-/'`
>  hoogleweb: hoogleindex
>  	mkdir -p hoogle
> -	ln -sf . hoogle/$(HOOGLEVER)
> +	rm -f hoogle/$(HOOGLEVER)
> +	ln -s . hoogle/$(HOOGLEVER)
>  	cp -r $(HOOGLESRC)/deploy/res/ hoogle/
>  	cp -p $(HOOGLE) hoogle/index.cgi
>  	touch log.txt

What's wrong with ln -sf?  Is it a GNUism?



More information about the darcs-users mailing list