Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
Larry Price
gmsh
Commits
37e5e68f
Commit
37e5e68f
authored
9 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
package tuto + onelab models
parent
4cd27a7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/misc/package_gmsh_getdp.sh
+20
-9
20 additions, 9 deletions
utils/misc/package_gmsh_getdp.sh
with
20 additions
and
9 deletions
utils/misc/package_gmsh_getdp.sh
+
20
−
9
View file @
37e5e68f
...
@@ -11,8 +11,8 @@ License. See the LICENSE and CREDITS files for more information.
...
@@ -11,8 +11,8 @@ License. See the LICENSE and CREDITS files for more information.
The Gmsh tutorial and sample GetDP models are provided in the tutorial and
The Gmsh tutorial and sample GetDP models are provided in the tutorial and
models directories.
models directories.
See the official websites
http://gmsh.info and http://getdp.info for
See the official websites
for up-to-date versions, documentation and additional
up-to-date versions, documentation and
examples."
>
/tmp/README.txt
examples."
>
/tmp/README.txt
GMSH
=
svn
GMSH
=
svn
GETDP
=
svn
GETDP
=
svn
...
@@ -26,12 +26,11 @@ MODELS='machines relay inductor indheat magnetometer antennas acoustic_scatterin
...
@@ -26,12 +26,11 @@ MODELS='machines relay inductor indheat magnetometer antennas acoustic_scatterin
mkdir
/tmp/models
mkdir
/tmp/models
for
m
in
${
MODELS
}
;
do
for
m
in
${
MODELS
}
;
do
curl
-O
http://onelab.info/files/
${
m
}
.zip
curl
-O
http://onelab.info/files/
${
m
}
.zip
mkdir
/tmp/models/
$m
unzip
-q
-o
${
m
}
.zip
-d
/tmp/models
unzip
-q
-o
${
m
}
.zip
-d
/tmp/models/
$m
rm
-f
${
m
}
.zip
rm
-f
${
m
}
.zip
done
done
rm
-rf
gmsh-getdp-Windows64
rm
-rf
gmsh-getdp-Windows64
*
mkdir
gmsh-getdp-Windows64
mkdir
gmsh-getdp-Windows64
curl
-O
http://geuz.org/gmsh/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http://geuz.org/gmsh/bin/Windows/gmsh-
${
GMSH
}
-Windows64
.zip
curl
-O
http://geuz.org/getdp/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
curl
-O
http://geuz.org/getdp/bin/Windows/getdp-
${
GETDP
}
-Windows64c
.zip
...
@@ -44,8 +43,10 @@ mv /tmp/gmsh-*${GMSH}-Windows/gmsh.exe gmsh-getdp-Windows64
...
@@ -44,8 +43,10 @@ mv /tmp/gmsh-*${GMSH}-Windows/gmsh.exe gmsh-getdp-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/onelab.py gmsh-getdp-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/onelab.py gmsh-getdp-Windows64
mv
/tmp/getdp-
*${
GETDP
}
-Windows
/getdp.exe gmsh-getdp-Windows64
mv
/tmp/getdp-
*${
GETDP
}
-Windows
/getdp.exe gmsh-getdp-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/LICENSE.txt gmsh-getdp-Windows64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/LICENSE.txt gmsh-getdp-Windows64/LICENSE.txt
echo
"
\n\n
"
>>
gmsh-getdp-Windows64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/LICENSE.txt
>>
gmsh-getdp-Windows64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/LICENSE.txt
>>
gmsh-getdp-Windows64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/CREDITS.txt gmsh-getdp-Windows64/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/CREDITS.txt gmsh-getdp-Windows64/CREDITS.txt
echo
"
\n\n
"
>>
gmsh-getdp-Windows64/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/CREDITS.txt
>>
gmsh-getdp-Windows64/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/CREDITS.txt
>>
gmsh-getdp-Windows64/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/tutorial gmsh-getdp-Windows64
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/tutorial gmsh-getdp-Windows64
cp
-R
/tmp/models gmsh-getdp-Windows64
cp
-R
/tmp/models gmsh-getdp-Windows64
...
@@ -54,7 +55,7 @@ rm -rf /tmp/getdp-*
...
@@ -54,7 +55,7 @@ rm -rf /tmp/getdp-*
zip
-r
gmsh-getdp-Windows64.zip gmsh-getdp-Windows64
zip
-r
gmsh-getdp-Windows64.zip gmsh-getdp-Windows64
rm
-rf
gmsh-getdp-Windows64
rm
-rf
gmsh-getdp-Windows64
rm
-rf
gmsh-getdp-Windows32
rm
-rf
gmsh-getdp-Windows32
*
mkdir
gmsh-getdp-Windows32
mkdir
gmsh-getdp-Windows32
curl
-O
http://geuz.org/gmsh/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http://geuz.org/gmsh/bin/Windows/gmsh-
${
GMSH
}
-Windows32
.zip
curl
-O
http://geuz.org/getdp/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
curl
-O
http://geuz.org/getdp/bin/Windows/getdp-
${
GETDP
}
-Windows32c
.zip
...
@@ -67,8 +68,10 @@ mv /tmp/gmsh-*${GMSH}-Windows/gmsh.exe gmsh-getdp-Windows32
...
@@ -67,8 +68,10 @@ mv /tmp/gmsh-*${GMSH}-Windows/gmsh.exe gmsh-getdp-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/onelab.py gmsh-getdp-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/onelab.py gmsh-getdp-Windows32
mv
/tmp/getdp-
*${
GETDP
}
-Windows
/getdp.exe gmsh-getdp-Windows32
mv
/tmp/getdp-
*${
GETDP
}
-Windows
/getdp.exe gmsh-getdp-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/LICENSE.txt gmsh-getdp-Windows32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/LICENSE.txt gmsh-getdp-Windows32/LICENSE.txt
echo
"
\n\n
"
>>
gmsh-getdp-Windows32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/LICENSE.txt
>>
gmsh-getdp-Windows32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/LICENSE.txt
>>
gmsh-getdp-Windows32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/CREDITS.txt gmsh-getdp-Windows32/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/CREDITS.txt gmsh-getdp-Windows32/CREDITS.txt
echo
"
\n\n
"
>>
gmsh-getdp-Windows32/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/CREDITS.txt
>>
gmsh-getdp-Windows32/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Windows
/CREDITS.txt
>>
gmsh-getdp-Windows32/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/tutorial gmsh-getdp-Windows32
mv
/tmp/gmsh-
*${
GMSH
}
-Windows
/tutorial gmsh-getdp-Windows32
cp
-R
/tmp/models gmsh-getdp-Windows32
cp
-R
/tmp/models gmsh-getdp-Windows32
...
@@ -77,7 +80,7 @@ rm -rf /tmp/getdp-*
...
@@ -77,7 +80,7 @@ rm -rf /tmp/getdp-*
zip
-r
gmsh-getdp-Windows32.zip gmsh-getdp-Windows32
zip
-r
gmsh-getdp-Windows32.zip gmsh-getdp-Windows32
rm
-rf
gmsh-getdp-Windows32
rm
-rf
gmsh-getdp-Windows32
rm
-rf
gmsh-getdp-Linux32
rm
-rf
gmsh-getdp-Linux32
*
mkdir
gmsh-getdp-Linux32
mkdir
gmsh-getdp-Linux32
curl
-O
http://geuz.org/gmsh/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http://geuz.org/gmsh/bin/Linux/gmsh-
${
GMSH
}
-Linux32
.tgz
curl
-O
http://geuz.org/getdp/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
curl
-O
http://geuz.org/getdp/bin/Linux/getdp-
${
GETDP
}
-Linux32c
.tgz
...
@@ -90,8 +93,10 @@ mv /tmp/gmsh-*${GMSH}-Linux/bin/gmsh gmsh-getdp-Linux32
...
@@ -90,8 +93,10 @@ mv /tmp/gmsh-*${GMSH}-Linux/bin/gmsh gmsh-getdp-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/bin/onelab.py gmsh-getdp-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/bin/onelab.py gmsh-getdp-Linux32
mv
/tmp/getdp-
*${
GETDP
}
-Linux
/bin/getdp gmsh-getdp-Linux32
mv
/tmp/getdp-
*${
GETDP
}
-Linux
/bin/getdp gmsh-getdp-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/LICENSE.txt gmsh-getdp-Linux32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/LICENSE.txt gmsh-getdp-Linux32/LICENSE.txt
echo
"
\n\n
"
>>
gmsh-getdp-Linux32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-Linux32/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-Linux32/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/CREDITS.txt gmsh-getdp-Linux32/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/CREDITS.txt gmsh-getdp-Linux32/CREDITS.txt
echo
"
\n\n
"
>>
gmsh-getdp-Linux32/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-Linux32/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-Linux32/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/tutorial gmsh-getdp-Linux32
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/tutorial gmsh-getdp-Linux32
cp
-R
/tmp/models gmsh-getdp-Linux32
cp
-R
/tmp/models gmsh-getdp-Linux32
...
@@ -100,7 +105,7 @@ rm -rf /tmp/getdp-*
...
@@ -100,7 +105,7 @@ rm -rf /tmp/getdp-*
zip
-r
gmsh-getdp-Linux32.zip gmsh-getdp-Linux32
zip
-r
gmsh-getdp-Linux32.zip gmsh-getdp-Linux32
rm
-rf
gmsh-getdp-Linux32
rm
-rf
gmsh-getdp-Linux32
rm
-rf
gmsh-getdp-Linux64
rm
-rf
gmsh-getdp-Linux64
*
mkdir
gmsh-getdp-Linux64
mkdir
gmsh-getdp-Linux64
curl
-O
http://geuz.org/gmsh/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http://geuz.org/gmsh/bin/Linux/gmsh-
${
GMSH
}
-Linux64
.tgz
curl
-O
http://geuz.org/getdp/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
curl
-O
http://geuz.org/getdp/bin/Linux/getdp-
${
GETDP
}
-Linux64c
.tgz
...
@@ -113,8 +118,10 @@ mv /tmp/gmsh-*${GMSH}-Linux/bin/gmsh gmsh-getdp-Linux64
...
@@ -113,8 +118,10 @@ mv /tmp/gmsh-*${GMSH}-Linux/bin/gmsh gmsh-getdp-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/bin/onelab.py gmsh-getdp-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/bin/onelab.py gmsh-getdp-Linux64
mv
/tmp/getdp-
*${
GETDP
}
-Linux
/bin/getdp gmsh-getdp-Linux64
mv
/tmp/getdp-
*${
GETDP
}
-Linux
/bin/getdp gmsh-getdp-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/LICENSE.txt gmsh-getdp-Linux64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/LICENSE.txt gmsh-getdp-Linux64/LICENSE.txt
echo
"
\n\n
"
>>
gmsh-getdp-Linux64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-Linux64/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-Linux64/LICENSE.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/CREDITS.txt gmsh-getdp-Linux64/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/CREDITS.txt gmsh-getdp-Linux64/CREDITS.txt
echo
"
\n\n
"
>>
gmsh-getdp-Linux64/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-Linux64/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-Linux
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-Linux64/CREDITS.txt
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/tutorial gmsh-getdp-Linux64
mv
/tmp/gmsh-
*${
GMSH
}
-Linux
/share/doc/gmsh/tutorial gmsh-getdp-Linux64
cp
-R
/tmp/models gmsh-getdp-Linux64
cp
-R
/tmp/models gmsh-getdp-Linux64
...
@@ -123,7 +130,7 @@ rm -rf /tmp/getdp-*
...
@@ -123,7 +130,7 @@ rm -rf /tmp/getdp-*
zip
-r
gmsh-getdp-Linux64.zip gmsh-getdp-Linux64
zip
-r
gmsh-getdp-Linux64.zip gmsh-getdp-Linux64
rm
-rf
gmsh-getdp-Linux64
rm
-rf
gmsh-getdp-Linux64
rm
-rf
gmsh-getdp-MacOSX
rm
-rf
gmsh-getdp-MacOSX
*
mkdir
gmsh-getdp-MacOSX
mkdir
gmsh-getdp-MacOSX
curl
-O
http://geuz.org/gmsh/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http://geuz.org/gmsh/bin/MacOSX/gmsh-
${
GMSH
}
-MacOSX
.dmg
curl
-O
http://geuz.org/getdp/bin/MacOSX/getdp-
${
GETDP
}
-MacOSX64c
.tgz
curl
-O
http://geuz.org/getdp/bin/MacOSX/getdp-
${
GETDP
}
-MacOSX64c
.tgz
...
@@ -137,8 +144,10 @@ cp /tmp/README.txt gmsh-getdp-MacOSX
...
@@ -137,8 +144,10 @@ cp /tmp/README.txt gmsh-getdp-MacOSX
cp
-R
gmsh_mount/Gmsh.app gmsh-getdp-MacOSX
cp
-R
gmsh_mount/Gmsh.app gmsh-getdp-MacOSX
mv
/tmp/getdp-
*${
GETDP
}
-MacOSX
/bin/getdp gmsh-getdp-MacOSX/Gmsh.app/Contents/MacOS/
mv
/tmp/getdp-
*${
GETDP
}
-MacOSX
/bin/getdp gmsh-getdp-MacOSX/Gmsh.app/Contents/MacOS/
cp
gmsh_mount/LICENSE.txt gmsh-getdp-MacOSX/LICENSE.txt
cp
gmsh_mount/LICENSE.txt gmsh-getdp-MacOSX/LICENSE.txt
echo
"
\n\n
"
>>
gmsh-getdp-MacOSX/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-MacOSX
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-MacOSX/LICENSE.txt
cat
/tmp/getdp-
*${
GETDP
}
-MacOSX
/share/doc/getdp/LICENSE.txt
>>
gmsh-getdp-MacOSX/LICENSE.txt
cp
gmsh_mount/CREDITS.txt gmsh-getdp-MacOSX/CREDITS.txt
cp
gmsh_mount/CREDITS.txt gmsh-getdp-MacOSX/CREDITS.txt
echo
"
\n\n
"
>>
gmsh-getdp-MacOSX/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-MacOSX
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-MacOSX/CREDITS.txt
cat
/tmp/getdp-
*${
GETDP
}
-MacOSX
/share/doc/getdp/CREDITS.txt
>>
gmsh-getdp-MacOSX/CREDITS.txt
cp
-R
gmsh_mount/tutorial gmsh-getdp-MacOSX
cp
-R
gmsh_mount/tutorial gmsh-getdp-MacOSX
cp
-R
/tmp/models gmsh-getdp-MacOSX
cp
-R
/tmp/models gmsh-getdp-MacOSX
...
@@ -147,3 +156,5 @@ rm -rf /tmp/gmsh-*
...
@@ -147,3 +156,5 @@ rm -rf /tmp/gmsh-*
rm
-rf
/tmp/getdp-
*
rm
-rf
/tmp/getdp-
*
zip
-r
gmsh-getdp-MacOSX.zip gmsh-getdp-MacOSX
zip
-r
gmsh-getdp-MacOSX.zip gmsh-getdp-MacOSX
rm
-rf
gmsh-getdp-MacOSX
rm
-rf
gmsh-getdp-MacOSX
rm
-rf
/tmp/models
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