summaryrefslogtreecommitdiff
path: root/scripts/makeself
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-31 13:06:03 +0800
committerruki <[email protected]>2020-05-31 13:06:03 +0800
commit36a27491b5f45ec7b190b598b470655d098ac998 (patch)
tree10321e00c42e2f847251866f073cb0af9f8bca03 /scripts/makeself
parentb12160d6b800f2b42d5656257bb651a48455124c (diff)
update ci
Diffstat (limited to 'scripts/makeself')
-rwxr-xr-xscripts/makeself/build-runfile.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh
index f46d1d1bf..80ab7a18f 100755
--- a/scripts/makeself/build-runfile.sh
+++ b/scripts/makeself/build-runfile.sh
@@ -4,6 +4,10 @@
cd "$(dirname "$0")/../.."
xmakeroot=`pwd`
buildroot=$xmakeroot/scripts/makeself
+artifactsdir=$xmakeroot/artifacts
+if [ ! -d $artifactsdir ]; then
+ mkdir $artifactsdir
+fi
tmpdir=/tmp/xmake-makeself
if [ -d $tmpdir ]; then
rm -rf $tmpdir
@@ -47,7 +51,7 @@ sh ./makeself-2.4.0.run
--lsm ./lsm \
--help-header ./header \
./xmake \
- $buildroot/xmake.gz.run \
+ $artifactsdir/xmake.gz.run \
xmake-v$version-runfile \
./scripts/get.sh __local__
./makeself-2.4.0/makeself.sh \
@@ -56,6 +60,6 @@ sh ./makeself-2.4.0.run
--lsm ./lsm \
--help-header ./header \
./xmake \
- $buildroot/xmake.xz.run \
+ $artifactsdir/xmake.xz.run \
xmake-v$version-runfile \
./scripts/get.sh __local__