[Tizen] Use PTRACE_GETREGSET for any arch when creating dump
[platform/upstream/coreclr.git] / init-dotnet.sh
index f7ac32b..36b7423 100644 (file)
@@ -1,15 +1,15 @@
 #!/usr/bin/env bash
 
-__scriptpath=$(cd "$(dirname "$0")"; pwd -P)
+__scriptpath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
 echo "Installing dotnet using Arcade..."
 
-source $__scriptpath/eng/configure-toolset.sh
-source $__scriptpath/eng/common/tools.sh
+source ${__scriptpath}/eng/configure-toolset.sh
+source ${__scriptpath}/eng/common/tools.sh
 
 InitializeBuildTool
 
 if [ $? != 0 ]; then
     echo "Failed to install dotnet using Arcade"
     exit $?
-fi
+fi
\ No newline at end of file