summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--]scripts/makeself/build-runfile.sh3
-rw-r--r--scripts/makeself/header2
-rw-r--r--scripts/makeself/lsm2
3 files changed, 4 insertions, 3 deletions
diff --git a/scripts/makeself/build-runfile.sh b/scripts/makeself/build-runfile.sh
index 87641dd69..be725bbaa 100644..100755
--- a/scripts/makeself/build-runfile.sh
+++ b/scripts/makeself/build-runfile.sh
@@ -1,6 +1,7 @@
#! /bin/bash
cd "$(dirname "$0")/../.."
+xmakeroot=`pwd`
# prepare files to pack
mkdir -p /tmp/xmake-makeself/xmake
@@ -18,4 +19,4 @@ sh ./makeself-2.4.0.run
# make runfile
./makeself-2.4.0/makeself.sh --lsm ./xmake/scripts/makeself/lsm --help-header ./xmake/scripts/makeself/header ./xmake xmake.run xmake ./scripts/get.sh __local__
-cp xmake.run "$(dirname "$0")"
+cp xmake.run $xmakeroot/scripts/makeself
diff --git a/scripts/makeself/header b/scripts/makeself/header
index 141a9febd..5622e4b9b 100644
--- a/scripts/makeself/header
+++ b/scripts/makeself/header
@@ -6,4 +6,4 @@ Copyright (C) 2005-2015 Mike Pall, luajit.org
\ \/ / | \/ |/ _ | |/ / __ \
> < | \__/ | /_| | < ___/
/_/\_\_|_| |_|\__ \|_|\_\____|
- by ruki, tboox.org \ No newline at end of file
+ by ruki, tboox.org
diff --git a/scripts/makeself/lsm b/scripts/makeself/lsm
index 597279afb..88b322af2 100644
--- a/scripts/makeself/lsm
+++ b/scripts/makeself/lsm
@@ -12,4 +12,4 @@ Maintained-by: ruki ([email protected])
Original-site: https://xmake.io/
Platform: Unix; Windows
Copying-policy: Apache-2.0
-End \ No newline at end of file
+End