Skip to content

Commit

Permalink
Use pushd/popd
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed May 29, 2024
1 parent f0fb235 commit 7958cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tasks/matlab/rename_macos_dynamic_libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ else
exit 1
fi

ORIG_DIR=$(pwd)
pushd ${DYLIB_DIR}

cd ${DYLIB_DIR}

Expand Down Expand Up @@ -161,4 +161,4 @@ install_name_tool -change @rpath/${LIBMEXCLASS_DYLIB} @rpath/${LIBMEXCLASS_ARCH_
# Change install name of dependent shared library libarrowproxy.dylib to libarrowproxy_(arm64|x64).dylib in gateway.(mexmaca64|mexmaci64)
install_name_tool -change @rpath/${LIBARROWPROXY_DYLIB} @rpath/${LIBARROWPROXY_ARCH_DYLIB} ${MEX_GATEWAY}

cd ${ORIG_DIR}
popd

0 comments on commit 7958cf1

Please sign in to comment.