incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nalley <da...@gnsa.us>
Subject Re: git commit: CLOUDSTACK-221: Force symlink if any existing symlink
Date Mon, 08 Oct 2012 17:41:25 GMT
>
> CLOUDSTACK-221: Force symlink if any existing symlink
>
> Force symlink, in case there is an existing symlink but the file it
> links to does not exist.
>
> ----------------------------------------------------------------------
>  cloud.spec |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> ----------------------------------------------------------------------
>
>
> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e2419250/cloud.spec
> ----------------------------------------------------------------------
> diff --git a/cloud.spec b/cloud.spec
> index 844d486..36860c9 100644
> --- a/cloud.spec
> +++ b/cloud.spec
> @@ -403,7 +403,7 @@ fi
>
>      mkdir -p $target/webapps7080
>      if [ ! -h $target/webapps7080/awsapi ]; then
> -        ln -s $root/webapps7080/awsapi $target/webapps7080/awsapi
> +        ln -sf $root/webapps7080/awsapi $target/webapps7080/awsapi
>      fi
>


Why are we doing this in the first place? What is the underlying
problem? Is there a bug for that? Symlinking a directory is almost
always a hack.

--David

Mime
View raw message