Skip to content

Commit e241925

Browse files
committed
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.
1 parent 3b78d69 commit e241925

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cloud.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ fi
403403

404404
mkdir -p $target/webapps7080
405405
if [ ! -h $target/webapps7080/awsapi ]; then
406-
ln -s $root/webapps7080/awsapi $target/webapps7080/awsapi
406+
ln -sf $root/webapps7080/awsapi $target/webapps7080/awsapi
407407
fi
408408

409409
jars=`ls $root/lib`

0 commit comments

Comments
 (0)