mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
14 lines
364 B
Plaintext
14 lines
364 B
Plaintext
|
exec >&2
|
||
|
read -r package <package
|
||
|
rm -f *~ .*~ \
|
||
|
debian/*~ debian/changelog debian/debhelper-build-stamp \
|
||
|
debian/*.log debian/files debian/*.substvars debian/*.debhelper \
|
||
|
*.tar.gz *.deb *.rpm *.spec pkgver relaynode *.exe
|
||
|
[ -n "$package" ] && rm -rf "debian/$package"
|
||
|
for d in */.stamp; do
|
||
|
if [ -e "$d" ]; then
|
||
|
dir=$(dirname "$d")
|
||
|
rm -rf "$dir"
|
||
|
fi
|
||
|
done
|