Skip to content

Commit 77f2a2c

Browse files
committed
CR changes
1 parent 59b3a42 commit 77f2a2c

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Assets/FbxExporters/Integrations/Autodesk/maya/scripts/install_maya_plugin.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ if [ ! -d "${PROJECT_PATH}" ]; then
2626
fi
2727
echo "Using PROJECT_PATH=${PROJECT_PATH}"
2828

29-
# Configure where unitypackage is located
30-
if [ ! -f "${PACKAGE_PATH}" ]; then
31-
PACKAGE_PATH=`ls -t ${PROJECT_PATH}/FbxExporters_*.unitypackage | head -1`
32-
fi
33-
echo "Using PACKAGE_PATH=${PACKAGE_PATH}"
34-
3529
# Configure where Maya is installed
3630
if [ ! -d "${MAYA_LOCATION}" ]; then
3731
MAYA_LOCATION=/Applications/Autodesk/maya2017/Maya.app/Contents
@@ -43,15 +37,6 @@ if [ ! -f "${UNITY_EDITOR_PATH}" ]; then
4337
exit -1
4438
fi
4539

46-
# remove existing installation
47-
if [ -d "${PROJECT_PATH}/Assets/FbxExporters" ]; then
48-
echo "Uninstalling previous version"
49-
rm -rf "${PROJECT_PATH}/Assets/FbxExporters"
50-
fi
51-
52-
# Install FbxExporters package
53-
"${UNITY_EDITOR_PATH}" -projectPath "${PROJECT_PATH}" -importPackage ${PACKAGE_PATH} -quit
54-
5540
# Install Maya Integration
5641
"${UNITY_EDITOR_PATH}" -batchMode -projectPath "${PROJECT_PATH}" -executeMethod FbxExporters.Integrations.InstallMaya -quit
5742

0 commit comments

Comments
 (0)