Skip to content
Snippets Groups Projects
Commit 87bcec81 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Installation script remove unwanted prefix

parent ff985a1e
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,11 @@ CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs -
NVCCFLAGS=" "
INCLUDES_PATH=" -Iconfig "
# Add openfpm_pdata to prefix forlder
# Add openfpm_io to prefix forlder (if prefix end if openfpm_pdata remove that path)
if [ echo "$prefix" | grep -qE "/openfpm_pdata$" ]; then
prefix=$(echo "$prefix" | sed 's/\(.*\)\/openfpm_pdata$/\1/g')
fi
prefix="$prefix/openfpm_devices"
echo "Installation dir is: $prefix"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment