aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-08-15 14:37:06 -0700
committerJohn MacFarlane <[email protected]>2022-08-15 14:37:06 -0700
commit386705f8184ac99d1023ed09d5ab10110d83f64c (patch)
tree71a014120da4884350b66557e99aa2250fff072a /linux
parentf0943813782a44c9948dd51a64ca241cf6762087 (diff)
linux/make_artifacts.sh: fix paths.
Diffstat (limited to 'linux')
-rw-r--r--linux/make_artifacts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/make_artifacts.sh b/linux/make_artifacts.sh
index 59b451660..703da4eeb 100644
--- a/linux/make_artifacts.sh
+++ b/linux/make_artifacts.sh
@@ -40,7 +40,7 @@ make_deb() {
REVISION=${REVISION:-1}
DEBVER=$VERSION-$REVISION
BASE=$EXE-$DEBVER-$ARCHITECTURE
- DIST=`pwd`/$BASE
+ DIST=/mnt/$BASE
DEST=$DIST/usr
COPYRIGHT=$DEST/share/doc/$EXE/copyright
@@ -59,7 +59,7 @@ make_deb() {
INSTALLED_SIZE=$(du -k -s $DEST | awk '{print $1}')
mkdir $DIST/DEBIAN
- perl -pe "s/VERSION/$DEBVER/" linux/control.in | \
+ perl -pe "s/VERSION/$DEBVER/" /mnt/linux/control.in | \
perl -pe "s/ARCHITECTURE/$ARCHITECTURE/" | \
perl -pe "s/INSTALLED_SIZE/$INSTALLED_SIZE/" \
> $DIST/DEBIAN/control