mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +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" --
|