summaryrefslogtreecommitdiff
path: root/profiler
diff options
context:
space:
mode:
authorRuben Ayrapetyan/SRR-Compiler Lab/./삼성전자 <r.ayrapetyan@samsung.com>2017-09-15 22:22:54 +0300
committerGitHub Enterprise <noreply-CODE@samsung.com>2017-09-15 22:22:54 +0300
commitdfa1b8c3eacd69af4ba620cd26a38eeaa5411f6b (patch)
treec5b43134775d286417733078fcc01e9698257d6b /profiler
parentfefca027d03a53c7b2be5423d86c7c281c405f46 (diff)
parenteb96d611f77537a06df54769a6e131b4b09e6db0 (diff)
downloadheaptrack-dfa1b8c3eacd69af4ba620cd26a38eeaa5411f6b.tar.gz
heaptrack-dfa1b8c3eacd69af4ba620cd26a38eeaa5411f6b.tar.bz2
heaptrack-dfa1b8c3eacd69af4ba620cd26a38eeaa5411f6b.zip
Merge pull request #16 from dotnet/fix-relative-paths-in-profiler-build-script
Fix handling of relative paths in build script of managed profiler module
Diffstat (limited to 'profiler')
-rwxr-xr-xprofiler/profiler/build.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/profiler/profiler/build.sh b/profiler/profiler/build.sh
index 96cffd7..46351ff 100755
--- a/profiler/profiler/build.sh
+++ b/profiler/profiler/build.sh
@@ -7,8 +7,8 @@ usage()
echo "RootFS - (optional) path to target's rootfs directory. For native builds, leave empty"
}
-coreclr_devel_rpm=$1
-rootfs=$2
+coreclr_devel_rpm=$(readlink -f $1)
+rootfs=$(readlink -f $2)
if [ ! -f $coreclr_devel_rpm ]; then
usage
@@ -58,4 +58,4 @@ else
-DCLR_SRC_DIR=$clr_dir/usr/share/dotnet/shared/Microsoft.NETCore.App/2.0.0/
fi
make
-cd .. \ No newline at end of file
+cd ..