summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-30 22:33:52 +0800
committerruki <[email protected]>2023-01-30 22:33:52 +0800
commit0df5e4c0c890bec8b45068726fbda898069b166d (patch)
tree5570be69f48fba618595f4cde18d474933705664 /scripts
parentf3b7dad8768679df499b36d635532f81f3c5063a (diff)
fix archive
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/archive-all4
-rwxr-xr-xscripts/makeppa6
2 files changed, 5 insertions, 5 deletions
diff --git a/scripts/archive-all b/scripts/archive-all
index 6d2b6e5c6..27c124e9a 100755
--- a/scripts/archive-all
+++ b/scripts/archive-all
@@ -32,9 +32,9 @@ cp -r ./scripts/man $topdir/scripts
cp -r ./scripts/debian $topdir/scripts
cp ./*.md $topdir
cp configure $topdir
+rm -rf $topdir/core/src/tbox/tbox/src/demo
+rm -rf $topdir/core/src/luajit
cd $srcdir || exit
-rm -rf ./core/src/tbox/tbox/src/demo
-rm -rf ./core/src/luajit
# archive files
outputfile=$artifactsdir/"xmake"
diff --git a/scripts/makeppa b/scripts/makeppa
index 3f447958d..27f109d33 100755
--- a/scripts/makeppa
+++ b/scripts/makeppa
@@ -38,8 +38,8 @@ fi
# extract tarball
cd $workdir
if [ ! -d $basename ]; then
- mkdir $basename
- tar -xvf $basename.tar.gz -C $basename
+ mkdir $basename
+ tar -xvf $basename.tar.gz -C $basename
fi
# enter project directory
@@ -76,7 +76,7 @@ lintian ../xmake_$version+$patch$serie.dsc
# upload package
echo "uploading package .."
source=xmake_$version+"$patch$serie"_source
-if [ -f ../$source.ppa.upload ]; then
+if [ -f ../$source.ppa.upload ]; then
rm ../$source.ppa.upload
fi
dput ppa:xmake-io/xmake ../$source.changes