Fixes to script to build self-contained matlab toolbox packages

release/4.3a0
Richard Roberts 2012-09-03 23:24:37 +00:00
parent 9938b4785d
commit 403c6e39ad
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Detect platform # Detect platform
os=`uname -s` os=`uname -s`
arch=`uname -p` arch=`uname -m`
if [ "$os" = "Linux" -a "$arch" = "x86_64" ]; then if [ "$os" = "Linux" -a "$arch" = "x86_64" ]; then
platform=lin64 platform=lin64
elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then elif [ "$os" = "Linux" -a "$arch" = "i686" ]; then
@ -37,7 +37,7 @@ if [ ! $? ]; then
fi fi
# Compile # Compile
make -j4 install make install
# Create package # Create package
tar czf gtsam-toolbox-2.1.0-$platform.tgz -C stage/borg toolbox tar czf gtsam-toolbox-2.1.0-$platform.tgz -C stage/borg toolbox