From a52f4462bfbb94e665cd24bc467e1b6b851170c0 Mon Sep 17 00:00:00 2001 From: Rohit Yadav Date: Mon, 8 Oct 2012 16:39:58 +0530 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud.spec b/cloud.spec index 844d4865e8f..36860c9a34d 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`