mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 10:04:38 +00:00
using realpath on linux scripts
This commit is contained in:
parent
e564f214da
commit
d61e693ecd
@ -19,7 +19,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
else
|
||||
DISTRIB_PATH=$1
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd $DISTRIB_PATH
|
||||
|
||||
@ -16,7 +16,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
BUILD_PATH="../../src"
|
||||
else
|
||||
BUILD_PATH=$1
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
if ! [ -d $BUILD_PATH ]
|
||||
|
||||
@ -16,7 +16,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
BUILD_PATH="../../src"
|
||||
else
|
||||
BUILD_PATH=$1
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
if ! [ -d $BUILD_PATH ]
|
||||
|
||||
@ -17,7 +17,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
else
|
||||
DISTRIB_PATH=$1
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd $DISTRIB_PATH
|
||||
|
||||
@ -14,7 +14,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
else
|
||||
DISTRIB_PATH=$1
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
SOURCE_PATH=$PWD/../../src
|
||||
@ -65,4 +65,4 @@ rm -r lib
|
||||
mv usr/lib/meshlab/libIFX* .
|
||||
mv libIFXCoreStatic.a usr/lib/meshlab
|
||||
chrpath -r '$ORIGIN/../lib/meshlab/' usr/bin/meshlab
|
||||
chrpath -r '$ORIGIN/../lib/meshlab/' usr/bin/meshlabserver
|
||||
chrpath -r '$ORIGIN/../lib/meshlab/' usr/bin/meshlabserver
|
||||
|
||||
@ -20,7 +20,7 @@ if [ "$#" -eq 0 ]
|
||||
then
|
||||
BUILD_PATH="../../src"
|
||||
else
|
||||
BUILD_PATH=$1
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
sh linux_build.sh $BUILD_PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user