mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-23 19:38:48 +03:00
b70d11fb6f
[ci skip]
8 lines
252 B
Bash
Executable file
8 lines
252 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
PREFIX=$(basename "$(pwd -P)")
|
|
{
|
|
git ls-files
|
|
git submodule foreach --recursive --quiet \
|
|
'git ls-files --with-tree="$sha1" | sed "s#^#$path/#"'
|
|
} | sed "s#^#$PREFIX/#" | xargs tar -c -j -C.. -f "$PREFIX.tar.bz2" --
|