12 lines
376 B
Bash
Executable File
12 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
[ -d target ] && rm -rf target
|
|
docker run -it --rm --platform=linux/amd64 -v $(pwd):/warcat debian /warcat/build_deb.sh
|
|
find target -name \*.deb -exec mv {} . \;
|
|
[ -d target ] && rm -rf target
|
|
docker run -it --rm --platform=linux/amd64 -v $(pwd):/warcat fedora /warcat/build_rpm.sh
|
|
find target -name \*.rpm -exec mv {} . \;
|
|
[ -d target ] && rm -rf target
|