mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 02:54:36 +00:00
fixing linux scripts
This commit is contained in:
parent
90a504b71d
commit
0f1406da7d
@ -11,17 +11,17 @@
|
||||
#
|
||||
# You can give as argument the DISTRIB_PATH.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
INSTALL_PATH=$(pwd)
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
DISTRIB_PATH="../../distrib"
|
||||
else
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
INSTALL_PATH=$(pwd)
|
||||
|
||||
cd $DISTRIB_PATH
|
||||
|
||||
export VERSION=$(cat $INSTALL_PATH/../../ML_VERSION)
|
||||
|
||||
@ -9,8 +9,6 @@
|
||||
# You can give as argument the BUILD_PATH, and meshlab binaries will be
|
||||
# then placed inside BUILD_PATH/distrib.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
@ -19,6 +17,8 @@ else
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
if ! [ -d $BUILD_PATH ]
|
||||
then
|
||||
mkdir $BUILD_PATH
|
||||
|
||||
@ -9,8 +9,6 @@
|
||||
# You can give as argument the BUILD_PATH, and meshlab binaries will be
|
||||
# then placed inside BUILD_PATH/distrib.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
@ -19,6 +17,8 @@ else
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
if ! [ -d $BUILD_PATH ]
|
||||
then
|
||||
mkdir $BUILD_PATH
|
||||
|
||||
@ -9,17 +9,17 @@
|
||||
#
|
||||
# You can give as argument the DISTRIB_PATH.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
INSTALL_PATH=$(pwd)
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
DISTRIB_PATH="../../distrib"
|
||||
else
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
INSTALL_PATH=$(pwd)
|
||||
|
||||
cd $DISTRIB_PATH
|
||||
|
||||
$INSTALL_PATH/resources/linuxdeployqt usr/share/applications/meshlab.desktop -bundle-non-qt-libs -executable=usr/bin/meshlabserver
|
||||
|
||||
@ -7,16 +7,16 @@
|
||||
#
|
||||
# You can give as argument the DISTRIB_PATH.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
DISTRIB_PATH=$PWD/../../distrib
|
||||
DISTRIB_PATH="../../distrib"
|
||||
else
|
||||
DISTRIB_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
SOURCE_PATH=$PWD/../../src
|
||||
|
||||
INSTALL_PATH=$(pwd)
|
||||
|
||||
@ -13,8 +13,6 @@
|
||||
# You can give as argument the BUILD_PATH, and meshlab binaries and
|
||||
# AppImage will be then placed inside BUILD_PATH/distrib.
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
#checking for parameters
|
||||
if [ "$#" -eq 0 ]
|
||||
then
|
||||
@ -23,5 +21,7 @@ else
|
||||
BUILD_PATH=$(realpath $1)
|
||||
fi
|
||||
|
||||
cd "$(dirname "$(realpath "$0")")"; #move to script directory
|
||||
|
||||
sh linux_build.sh $BUILD_PATH
|
||||
sh linux_appimages.sh $BUILD_PATH/distrib
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user