summaryrefslogtreecommitdiff
path: root/bin/sbuild-deb-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-06 22:17:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-09-06 22:17:01 +0200
commit02d7674cf5af6bbaf22ccbf72ce2133a9025a50e (patch)
tree47532fa1cfc1f09cc93b62fc4c9aa77cb0a4d879 /bin/sbuild-deb-package
parent28c611a5d4638f7eb0abf66880000f5f6b73888d (diff)
downloadbuildscripts-02d7674cf5af6bbaf22ccbf72ce2133a9025a50e.tar.gz
buildscripts-02d7674cf5af6bbaf22ccbf72ce2133a9025a50e.tar.bz2
buildscripts-02d7674cf5af6bbaf22ccbf72ce2133a9025a50e.zip
sbuild-deb-package: during directory clean-up, we don't know the DEBSRCPKG name, yet. Thus, we remove all suspicious files.
Diffstat (limited to 'bin/sbuild-deb-package')
-rwxr-xr-xbin/sbuild-deb-package10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index eddac1f..c3a39fd 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -175,11 +175,11 @@ clear_pkgdist() {
[ "x${SKIP_ARCH}" != "x${l_ARCH}" ] && {
mkdir -p -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}"
rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/dupload.conf"
- rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/${DEBSRCPKG}_"*.changes
- rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/${DEBSRCPKG}_"*.upload
- rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/${DEBSRCPKG}_"*.build
- rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/${DEBSRCPKG}_"*.dsc
- rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/${DEBSRCPKG}_"*.tar.gz
+ rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*_*.changes
+ rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*_*.upload
+ rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*_*.build
+ rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*_*.dsc
+ rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*_*.tar.gz
rm -f -- "${PKGDIST}/${l_DIST}/${l_CODENAME}/${l_ARCH}/"*.deb
}
done