diff options
| author | ruki <[email protected]> | 2023-01-30 22:33:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-30 22:33:52 +0800 |
| commit | 0df5e4c0c890bec8b45068726fbda898069b166d (patch) | |
| tree | 5570be69f48fba618595f4cde18d474933705664 /scripts | |
| parent | f3b7dad8768679df499b36d635532f81f3c5063a (diff) | |
fix archive
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/archive-all | 4 | ||||
| -rwxr-xr-x | scripts/makeppa | 6 |
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 |
