zsh: improve sbuild snippet
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -64,10 +64,20 @@ krd-sbuild() {
|
|||||||
find -name '*.build' -type f -exec xz -9vv {} +
|
find -name '*.build' -type f -exec xz -9vv {} +
|
||||||
done
|
done
|
||||||
|
|
||||||
find -name '*_all.deb' -type f -exec mv -fvt "../${arch}-all" {} +
|
find \
|
||||||
find -name '*_all.ddeb' -type f -exec mv -fvt "../${arch}-all" {} +
|
-name '*_all.deb' -type f \
|
||||||
find -name '*dbgsym*.deb' -type f -exec mv -fvt "../${arch}-debug" {} +
|
-exec mv -fvt "../${arch}-all" {} +
|
||||||
find -name '*.ddeb' -type f -exec mv -fvt "../${arch}-debug" {} +
|
find \
|
||||||
|
-name '*_all.ddeb' -type f \
|
||||||
|
-exec mv -fvt "../${arch}-all" {} +
|
||||||
|
|
||||||
|
find \
|
||||||
|
-regextype egrep -regex '.+dbg(sym)?_[^_]+_'"${arch}"'\.d?deb$' -type f \
|
||||||
|
-exec mv -fvt "../${arch}-debug" {} +
|
||||||
|
find \
|
||||||
|
-name '*.ddeb' -type f \
|
||||||
|
-exec mv -fvt "../${arch}-debug" {} +
|
||||||
|
|
||||||
cd "${builddir}-all"
|
cd "${builddir}-all"
|
||||||
find -type f -exec mv -nvt '../all' {} +
|
find -type f -exec mv -nvt '../all' {} +
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user