Skip to content

Commit 5e524f3

Browse files
committed
Fixed building tar ball in a separate tree
1 parent 728d709 commit 5e524f3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

build/create_tar.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Create release tarball
44
#
55

6+
PKGBUILDDIR="../pbuild"
7+
68
set -e
79

810
if test $# -ne 1;
@@ -13,13 +15,13 @@ fi
1315

1416
RELNUM=$1
1517

16-
rm -fr pbuild
17-
mkdir -p pbuild
18+
rm -fr ${PKGBUILDDIR}
19+
mkdir -p ${PKGBUILDDIR}
1820

1921
git tag ${RELNUM}
20-
git archive --format=tar --prefix=pipexec-${RELNUM}/ ${RELNUM} | tar -C pbuild -xf -
22+
git archive --format=tar --prefix=pipexec-${RELNUM}/ ${RELNUM} | tar -C ${PKGBUILDDIR} -xf -
2123

22-
cd pbuild/pipexec-${RELNUM}
24+
cd ${PKGBUILDDIR}/pipexec-${RELNUM}
2325

2426
bash ./build/init_autotools.sh
2527

0 commit comments

Comments
 (0)