summaryrefslogtreecommitdiff
path: root/scripts/makeppa
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makeppa')
-rwxr-xr-xscripts/makeppa5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/makeppa b/scripts/makeppa
index 27f109d33..e7dc02513 100755
--- a/scripts/makeppa
+++ b/scripts/makeppa
@@ -38,8 +38,9 @@ fi
# extract tarball
cd $workdir
if [ ! -d $basename ]; then
- mkdir $basename
- tar -xvf $basename.tar.gz -C $basename
+ mkdir xmakesrc
+ tar -xvf $basename.tar.gz -C xmakesrc
+ mv xmakesrc/xmake-$version $basename
fi
# enter project directory