Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documentation
website
Commits
4b5fe9c6
Commit
4b5fe9c6
authored
6 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
added OPTLAB to binary bundles
parent
483fb796
No related branches found
No related tags found
No related merge requests found
Pipeline
#2491
canceled
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bundle_onelab.sh
+39
-5
39 additions, 5 deletions
bundle_onelab.sh
with
39 additions
and
5 deletions
bundle_onelab.sh
+
39
−
5
View file @
4b5fe9c6
...
@@ -7,10 +7,10 @@ echo "This ONELAB bundle was built on ${DATE} with the latest builds of Gmsh
...
@@ -7,10 +7,10 @@ echo "This ONELAB bundle was built on ${DATE} with the latest builds of Gmsh
To run your first simulation, launch Gmsh and open a GetDP .pro file
To run your first simulation, launch Gmsh and open a GetDP .pro file
(e.g. models/Magnetometer/magnetometer.pro) with the File/Open menu, then click
(e.g. models/Magnetometer/magnetometer.pro) with the File/Open menu, then click
on
\"
Run
\"
.
on
\"
Run
\"
.
The software is distributed under the terms of the GNU General Public License.
The software is distributed under the terms of the GNU General Public License.
See the LICENSE and CREDITS files for more information.
See the LICENSE and CREDITS files for more information.
The 'tutorials' directory contains ONELAB tutorials. The 'models' directory
The 'tutorials' directory contains ONELAB tutorials. The 'models' directory
contains a selection of other ready-to-use models from http://onelab.info. The
contains a selection of other ready-to-use models from http://onelab.info. The
...
@@ -21,9 +21,11 @@ documentation." > /tmp/README.txt
...
@@ -21,9 +21,11 @@ documentation." > /tmp/README.txt
GMSH
=
git
GMSH
=
git
GETDP
=
git
GETDP
=
git
OPTLAB
=
1.0.0
#GMSH=3.0.0
#GMSH=4.0.1
#GETDP=2.11.0
#GETDP=3.0.1
#OPTLAB=1.0.0
TUTO_GETDP
=
`
cat
bundle_tutorials_getdp.txt
`
TUTO_GETDP
=
`
cat
bundle_tutorials_getdp.txt
`
TUTO_CPP
=
`
cat
bundle_tutorials_cpp.txt
`
TUTO_CPP
=
`
cat
bundle_tutorials_cpp.txt
`
...
@@ -60,6 +62,8 @@ for m in ${TUTO_CPP}; do
...
@@ -60,6 +62,8 @@ for m in ${TUTO_CPP}; do
unzip
-q
-o
${
m
}
.zip
-d
/tmp/tutorials/c++
unzip
-q
-o
${
m
}
.zip
-d
/tmp/tutorials/c++
rm
-f
${
m
}
.zip
rm
-f
${
m
}
.zip
done
done
git clone https://gitlab.onelab.info/optlab/tutorials /tmp/tutorials/optlab
rm
-rf
/tmp/tutorials/optlab/.git
if
[
$#
-lt
1
]
||
[
$1
==
"source"
]
;
then
if
[
$#
-lt
1
]
||
[
$1
==
"source"
]
;
then
rm
-rf
onelab-source
*
rm
-rf
onelab-source
*
...
@@ -95,15 +99,20 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then
...
@@ -95,15 +99,20 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then
mkdir
onelab-Windows64
mkdir
onelab-Windows64
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows64
.zip
mv
gmsh-
${
GMSH
}
-Windows64
.zip /tmp
mv
gmsh-
${
GMSH
}
-Windows64
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows64c
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows64c
.zip /tmp
mv
optlab-
${
OPTLAB
}
-Windows64
.zip /tmp
unzip
-q
-o
/tmp/gmsh-
${
GMSH
}
-Windows64
.zip
-d
/tmp
unzip
-q
-o
/tmp/gmsh-
${
GMSH
}
-Windows64
.zip
-d
/tmp
unzip
-q
-o
/tmp/getdp-
${
GETDP
}
-Windows64c
.zip
-d
/tmp
unzip
-q
-o
/tmp/getdp-
${
GETDP
}
-Windows64c
.zip
-d
/tmp
unzip
-q
-o
/tmp/optlab-
${
OPTLAB
}
-Windows64
.zip
-d
/tmp
cp
/tmp/README.txt onelab-Windows64
cp
/tmp/README.txt onelab-Windows64
perl
-pi
-e
's/\n/\r\n/'
onelab-Windows64/README.txt
perl
-pi
-e
's/\n/\r\n/'
onelab-Windows64/README.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/gmsh.exe onelab-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/gmsh.exe onelab-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/onelab.py onelab-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/onelab.py onelab-Windows64
mv
/tmp/getdp-
*${
GETDP
}
-Windows64
/getdp.exe onelab-Windows64
mv
/tmp/getdp-
*${
GETDP
}
-Windows64
/getdp.exe onelab-Windows64
mv
/tmp/optlab-
*${
OPTLAB
}
-Windows64
/lib/optlab.py onelab-Windows64
mv
/tmp/optlab-
*${
OPTLAB
}
-Windows64
/lib/optlab
*
.dll onelab-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/LICENSE.txt onelab-Windows64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows64
/LICENSE.txt onelab-Windows64/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Windows64/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Windows64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows64
/LICENSE.txt
>>
onelab-Windows64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows64
/LICENSE.txt
>>
onelab-Windows64/LICENSE.txt
...
@@ -116,6 +125,7 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then
...
@@ -116,6 +125,7 @@ if [ $# -lt 1 ] || [ $1 == "win64" ]; then
cp
-R
/tmp/getdp-
*${
GETDP
}
-Windows64
/templates onelab-Windows64/
cp
-R
/tmp/getdp-
*${
GETDP
}
-Windows64
/templates onelab-Windows64/
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/optlab-
*
zip
-r
onelab-Windows64.zip onelab-Windows64
zip
-r
onelab-Windows64.zip onelab-Windows64
rm
-rf
onelab-Windows64
rm
-rf
onelab-Windows64
scp onelab-Windows64.zip geuzaine@onelab.info:/onelab_files/
scp onelab-Windows64.zip geuzaine@onelab.info:/onelab_files/
...
@@ -126,15 +136,20 @@ if [ $# -lt 1 ] || [ $1 == "win32" ]; then
...
@@ -126,15 +136,20 @@ if [ $# -lt 1 ] || [ $1 == "win32" ]; then
mkdir
onelab-Windows32
mkdir
onelab-Windows32
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http://gmsh.info/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
curl
-O
http://getdp.info/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Windows32
.zip
mv
gmsh-
${
GMSH
}
-Windows32
.zip /tmp
mv
gmsh-
${
GMSH
}
-Windows32
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows32c
.zip /tmp
mv
getdp-
${
GETDP
}
-Windows32c
.zip /tmp
mv
optlab-
${
OPTLAB
}
-Windows32
.zip /tmp
unzip
-q
-o
/tmp/gmsh-
${
GMSH
}
-Windows32
.zip
-d
/tmp
unzip
-q
-o
/tmp/gmsh-
${
GMSH
}
-Windows32
.zip
-d
/tmp
unzip
-q
-o
/tmp/getdp-
${
GETDP
}
-Windows32c
.zip
-d
/tmp
unzip
-q
-o
/tmp/getdp-
${
GETDP
}
-Windows32c
.zip
-d
/tmp
unzip
-q
-o
/tmp/optlab-
${
OPTLAB
}
-Windows32
.zip
-d
/tmp
cp
/tmp/README.txt onelab-Windows32
cp
/tmp/README.txt onelab-Windows32
perl
-pi
-e
's/\n/\r\n/'
onelab-Windows32/README.txt
perl
-pi
-e
's/\n/\r\n/'
onelab-Windows32/README.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/gmsh.exe onelab-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/gmsh.exe onelab-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/onelab.py onelab-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/onelab.py onelab-Windows32
mv
/tmp/getdp-
*${
GETDP
}
-Windows32
/getdp.exe onelab-Windows32
mv
/tmp/getdp-
*${
GETDP
}
-Windows32
/getdp.exe onelab-Windows32
mv
/tmp/optlab-
*${
OPTLAB
}
-Windows32
/lib/optlab.py onelab-Windows32
mv
/tmp/optlab-
*${
OPTLAB
}
-Windows32
/lib/optlab
*
.dll onelab-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/LICENSE.txt onelab-Windows32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows32
/LICENSE.txt onelab-Windows32/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Windows32/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Windows32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows32
/LICENSE.txt
>>
onelab-Windows32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows32
/LICENSE.txt
>>
onelab-Windows32/LICENSE.txt
...
@@ -147,6 +162,7 @@ if [ $# -lt 1 ] || [ $1 == "win32" ]; then
...
@@ -147,6 +162,7 @@ if [ $# -lt 1 ] || [ $1 == "win32" ]; then
cp
-R
/tmp/getdp-
*${
GETDP
}
-Windows32
/templates onelab-Windows32/
cp
-R
/tmp/getdp-
*${
GETDP
}
-Windows32
/templates onelab-Windows32/
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/optlab-
*
zip
-r
onelab-Windows32.zip onelab-Windows32
zip
-r
onelab-Windows32.zip onelab-Windows32
rm
-rf
onelab-Windows32
rm
-rf
onelab-Windows32
scp onelab-Windows32.zip geuzaine@onelab.info:/onelab_files/
scp onelab-Windows32.zip geuzaine@onelab.info:/onelab_files/
...
@@ -157,14 +173,19 @@ if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
...
@@ -157,14 +173,19 @@ if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
mkdir
onelab-Linux64
mkdir
onelab-Linux64
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux64
.zip
mv
gmsh-
${
GMSH
}
-Linux64
.tgz /tmp
mv
gmsh-
${
GMSH
}
-Linux64
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux64c
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux64c
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-Linux64
.zip /tmp
tar
zxvf /tmp/gmsh-
${
GMSH
}
-Linux64
.tgz
-C
/tmp
tar
zxvf /tmp/gmsh-
${
GMSH
}
-Linux64
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-Linux64c
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-Linux64c
.tgz
-C
/tmp
unzip
-q
-o
/tmp/optlab-
${
OPTLAB
}
-Linux64
.zip
-d
/tmp
cp
/tmp/README.txt onelab-Linux64
cp
/tmp/README.txt onelab-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/bin/gmsh onelab-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/bin/gmsh onelab-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/bin/onelab.py onelab-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/bin/onelab.py onelab-Linux64
mv
/tmp/getdp-
*${
GETDP
}
-Linux64
/bin/getdp onelab-Linux64
mv
/tmp/getdp-
*${
GETDP
}
-Linux64
/bin/getdp onelab-Linux64
mv
/tmp/optlab-
*${
OPTLAB
}
-Linux64
/lib/optlab.py onelab-Linux64
cp
/tmp/optlab-
*${
OPTLAB
}
-Linux64
/lib/liboptlab
*
.so onelab-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/share/doc/gmsh/LICENSE.txt onelab-Linux64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux64
/share/doc/gmsh/LICENSE.txt onelab-Linux64/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Linux64/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Linux64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux64
/share/doc/getdp/LICENSE.txt
>>
onelab-Linux64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux64
/share/doc/getdp/LICENSE.txt
>>
onelab-Linux64/LICENSE.txt
...
@@ -177,6 +198,7 @@ if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
...
@@ -177,6 +198,7 @@ if [ $# -lt 1 ] || [ $1 == "linux64" ]; then
cp
-R
/tmp/getdp-
*${
GETDP
}
-Linux64
/share/doc/getdp/templates onelab-Linux64
cp
-R
/tmp/getdp-
*${
GETDP
}
-Linux64
/share/doc/getdp/templates onelab-Linux64
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/optlab-
*
zip
-r
onelab-Linux64.zip onelab-Linux64
zip
-r
onelab-Linux64.zip onelab-Linux64
rm
-rf
onelab-Linux64
rm
-rf
onelab-Linux64
scp onelab-Linux64.zip geuzaine@onelab.info:/onelab_files/
scp onelab-Linux64.zip geuzaine@onelab.info:/onelab_files/
...
@@ -187,14 +209,19 @@ if [ $# -lt 1 ] || [ $1 == "linux32" ]; then
...
@@ -187,14 +209,19 @@ if [ $# -lt 1 ] || [ $1 == "linux32" ]; then
mkdir
onelab-Linux32
mkdir
onelab-Linux32
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http://gmsh.info/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
curl
-O
http://getdp.info/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-Linux32
.zip
mv
gmsh-
${
GMSH
}
-Linux32
.tgz /tmp
mv
gmsh-
${
GMSH
}
-Linux32
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux32c
.tgz /tmp
mv
getdp-
${
GETDP
}
-Linux32c
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-Linux32
.zip /tmp
tar
zxvf /tmp/gmsh-
${
GMSH
}
-Linux32
.tgz
-C
/tmp
tar
zxvf /tmp/gmsh-
${
GMSH
}
-Linux32
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-Linux32c
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-Linux32c
.tgz
-C
/tmp
unzip
-q
-o
/tmp/optlab-
${
OPTLAB
}
-Linux32
.zip
-d
/tmp
cp
/tmp/README.txt onelab-Linux32
cp
/tmp/README.txt onelab-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/bin/gmsh onelab-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/bin/gmsh onelab-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/bin/onelab.py onelab-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/bin/onelab.py onelab-Linux32
mv
/tmp/getdp-
*${
GETDP
}
-Linux32
/bin/getdp onelab-Linux32
mv
/tmp/getdp-
*${
GETDP
}
-Linux32
/bin/getdp onelab-Linux32
mv
/tmp/optlab-
*${
OPTLAB
}
-Linux32
/lib/optlab.py onelab-Linux32
cp
/tmp/optlab-
*${
OPTLAB
}
-Linux32
/lib/liboptlab
*
.so onelab-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/share/doc/gmsh/LICENSE.txt onelab-Linux32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux32
/share/doc/gmsh/LICENSE.txt onelab-Linux32/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Linux32/LICENSE.txt
echo
"
\n\n
"
>>
onelab-Linux32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux32
/share/doc/getdp/LICENSE.txt
>>
onelab-Linux32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux32
/share/doc/getdp/LICENSE.txt
>>
onelab-Linux32/LICENSE.txt
...
@@ -207,6 +234,7 @@ if [ $# -lt 1 ] || [ $1 == "linux32" ]; then
...
@@ -207,6 +234,7 @@ if [ $# -lt 1 ] || [ $1 == "linux32" ]; then
cp
-R
/tmp/getdp-
*${
GETDP
}
-Linux32
/share/doc/getdp/templates onelab-Linux32
cp
-R
/tmp/getdp-
*${
GETDP
}
-Linux32
/share/doc/getdp/templates onelab-Linux32
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/optlab-
*
zip
-r
onelab-Linux32.zip onelab-Linux32
zip
-r
onelab-Linux32.zip onelab-Linux32
rm
-rf
onelab-Linux32
rm
-rf
onelab-Linux32
scp onelab-Linux32.zip geuzaine@onelab.info:/onelab_files/
scp onelab-Linux32.zip geuzaine@onelab.info:/onelab_files/
...
@@ -217,14 +245,19 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then
...
@@ -217,14 +245,19 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then
mkdir
onelab-MacOSX
mkdir
onelab-MacOSX
curl
-O
http://gmsh.info/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http://gmsh.info/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http://getdp.info/bin/MacOSX/getdp-
${
GETDP
}
-MacOSXc
.tgz
curl
-O
http://getdp.info/bin/MacOSX/getdp-
${
GETDP
}
-MacOSXc
.tgz
curl
-O
http://onelab.info/optlab/bin/optlab-
${
OPTLAB
}
-MacOSX
.zip
mv
gmsh-
${
GMSH
}
-MacOSX
.dmg /tmp
mv
gmsh-
${
GMSH
}
-MacOSX
.dmg /tmp
mv
getdp-
${
GETDP
}
-MacOSXc
.tgz /tmp
mv
getdp-
${
GETDP
}
-MacOSXc
.tgz /tmp
mv
optlab-
${
OPTLAB
}
-MacOSX
.zip /tmp
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSX
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSX
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSXc
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSXc
.tgz
-C
/tmp
unzip
-q
-o
/tmp/optlab-
${
OPTLAB
}
-MacOSX
.zip
-d
/tmp
cp
/tmp/README.txt onelab-MacOSX
cp
/tmp/README.txt onelab-MacOSX
cp
-R
gmsh_mount/Gmsh.app onelab-MacOSX/
cp
-R
gmsh_mount/Gmsh.app onelab-MacOSX/
mv
/tmp/getdp-
*${
GETDP
}
-MacOSX
/bin/getdp onelab-MacOSX/Gmsh.app/Contents/MacOS/
mv
/tmp/getdp-
*${
GETDP
}
-MacOSX
/bin/getdp onelab-MacOSX/Gmsh.app/Contents/MacOS/
mv
/tmp/optlab-
*${
OPTLAB
}
-MacOSX
/lib/optlab.py onelab-MacOSX/Gmsh.app/Contents/MacOS/
cp
/tmp/optlab-
*${
OPTLAB
}
-MacOSX
/lib/liboptlab
*
.dylib onelab-MacOSX/Gmsh.app/Contents/MacOS/
security unlock-keychain
-p
"FIXME"
${
HOME
}
/Library/Keychains/login.keychain
security unlock-keychain
-p
"FIXME"
${
HOME
}
/Library/Keychains/login.keychain
codesign
-v
--force
--deep
--sign
"Developer ID Application: Christophe Geuzaine"
onelab-MacOSX/Gmsh.app
codesign
-v
--force
--deep
--sign
"Developer ID Application: Christophe Geuzaine"
onelab-MacOSX/Gmsh.app
cp
gmsh_mount/LICENSE.txt onelab-MacOSX/LICENSE.txt
cp
gmsh_mount/LICENSE.txt onelab-MacOSX/LICENSE.txt
...
@@ -240,6 +273,7 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then
...
@@ -240,6 +273,7 @@ if [ $# -lt 1 ] || [ $1 == "mac" ]; then
hdiutil eject gmsh_mount
hdiutil eject gmsh_mount
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/gmsh-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/optlab-
*
# cannot use zip file: it destroys the signature for onelab.py
# cannot use zip file: it destroys the signature for onelab.py
hdiutil create
-srcfolder
onelab-MacOSX onelab-MacOSX.dmg
hdiutil create
-srcfolder
onelab-MacOSX onelab-MacOSX.dmg
codesign
-v
--sign
"Developer ID Application: Christophe Geuzaine"
onelab-MacOSX.dmg
codesign
-v
--sign
"Developer ID Application: Christophe Geuzaine"
onelab-MacOSX.dmg
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment