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.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/a52f4462 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/a52f4462 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/a52f4462 Branch: refs/heads/master Commit: a52f4462bfbb94e665cd24bc467e1b6b851170c0 Parents: 46fd793 Author: Rohit Yadav <[email protected]> Authored: Mon Oct 8 16:39:58 2012 +0530 Committer: Rohit Yadav <[email protected]> Committed: Mon Oct 8 23:06:00 2012 +0530 ---------------------------------------------------------------------- cloud.spec | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/a52f4462/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 jars=`ls $root/lib`
