From 6fa4945da0e3099f6a4e63c7b42ba5a53517fd05 Mon Sep 17 00:00:00 2001 From: Will Rosecrans Date: Mon, 8 Jan 2018 15:05:20 -0800 Subject: [PATCH] ln to force mode to suppress message if target already exists. --- build_cmake_pybullet_double.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_cmake_pybullet_double.sh b/build_cmake_pybullet_double.sh index 48c0ccdc4..ca77a9f1c 100755 --- a/build_cmake_pybullet_double.sh +++ b/build_cmake_pybullet_double.sh @@ -10,7 +10,6 @@ make -j $(command nproc 2>/dev/null || echo 12) cd examples cd pybullet if [ -e pybullet.dylib ]; then - rm pybullet.so - ln -s pybullet.dylib pybullet.so + ln -f -s pybullet.dylib pybullet.so fi