diff options
| author | ruki <[email protected]> | 2022-12-25 09:42:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-12-25 09:42:22 +0800 |
| commit | 038164b6056ec2fc521cdc796694282448c52995 (patch) | |
| tree | 624883580caaf542fd75b8ad70fdf1a55afbe909 /scripts | |
| parent | 2e5134b08e41ba3afb7975473601f4407a7334d5 (diff) | |
improve archive
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/archive-all | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/scripts/archive-all b/scripts/archive-all index bb07fe090..a0ca954da 100755 --- a/scripts/archive-all +++ b/scripts/archive-all @@ -20,16 +20,17 @@ git clean -dfX git submodule foreach git clean -dfX # copy files to tmpdir/xmake -mkdir -p $tmpdir/xmake/scripts +topdir=$tmpdir/xmake +mkdir -p $topdir/xmake/scripts cd $tmpdir/repo || exit -cp -r ./core $tmpdir/xmake -cp -r ./xmake $tmpdir/xmake/xmake -cp ./scripts/*.sh $tmpdir/xmake/scripts -cp -r ./scripts/man $tmpdir/xmake/scripts -cp -r ./scripts/debian $tmpdir/xmake/scripts -cp ./*.md $tmpdir/xmake -cp configure $tmpdir/xmake -cd $tmpdir/xmake || exit +cp -r ./core $topdir/xmake +cp -r ./xmake $topdir/xmake/xmake +cp ./scripts/*.sh $topdir/xmake/scripts +cp -r ./scripts/man $topdir/xmake/scripts +cp -r ./scripts/debian $topdir/xmake/scripts +cp ./*.md $topdir/xmake +cp configure $topdir/xmake +cd $topdir || exit rm -rf ./core/src/tbox/tbox/src/demo rm -rf ./core/src/luajit |
