Skip to content

Commit b9e98c2

Browse files
committedNov 14, 2015
tarball: add "openEMS/" to prefix
Signed-off-by: Thorsten Liebig <[email protected]>
1 parent a292d4d commit b9e98c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎make_tarball.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ cd ..
77
rm -f openEMS-$GITREV.tar
88
rm -f openEMS-$GITREV.tar.bz2
99

10-
git archive --format=tar HEAD -o openEMS-$GITREV.tar
10+
git archive --format=tar --prefix=openEMS/ HEAD -o openEMS-$GITREV.tar
1111

1212
for mod in fparser CSXCAD QCSXCAD AppCSXCAD openEMS CTB hyp2mat; do
1313
cd $mod || exit 1
1414
tmpfn=`mktemp --suffix=tar`
15-
git archive --format=tar --prefix=$mod/ HEAD -o $tmpfn
15+
git archive --format=tar --prefix=openEMS/$mod/ HEAD -o $tmpfn
1616
cd ..
1717
tar --concatenate --file=openEMS-$GITREV.tar $tmpfn
1818
rm -f $tmpfn

0 commit comments

Comments
 (0)
Please sign in to comment.