summaryrefslogtreecommitdiff
path: root/scripts/makeself/build-runfile.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makeself/build-runfile.sh')
-rwxr-xr-x[-rw-r--r--]scripts/makeself/build-runfile.sh3
1 files changed, 2 insertions, 1 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