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.
This commit is contained in:
Rohit Yadav 2012-10-08 16:39:58 +05:30
parent 46fd79388c
commit a52f4462bf

View File

@ -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`