summaryrefslogtreecommitdiff
path: root/scripts/makeppa
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/makeppa
parentf3b7dad8768679df499b36d635532f81f3c5063a (diff)
fix archive
Diffstat (limited to 'scripts/makeppa')
-rwxr-xr-xscripts/makeppa6
1 files changed, 3 insertions, 3 deletions
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