summaryrefslogtreecommitdiff
path: root/scripts/makeppa
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-06 23:24:13 +0800
committerruki <[email protected]>2023-04-06 23:24:13 +0800
commit9b828769a57aa823a2169c26f0b6f405bdd00e36 (patch)
tree5df6385e9461059ae270854af28a35ac64d2bff0 /scripts/makeppa
parentd34c24071b0db58d6dfca16f073915fe4244066f (diff)
fix makeppa scripts
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