containerized-data-importer/automation/check-patch.sh
Alexander Wels f5e042fcb8 Switch to minimal fedora 30
Signed-off-by: Alexander Wels <awels@redhat.com>
2019-05-22 10:31:19 -04:00

15 lines
369 B
Bash
Executable File

#!/bin/bash -e
# Patch/PR testing wrapper that sets the corresponding TARGET
#
if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
TARGET="$0"
TARGET="${TARGET#./}"
TARGET="${TARGET%.*}"
TARGET="${TARGET#*.}"
echo "TARGET=$TARGET"
export TARGET
cp automation/check-patch.yumrepos hack/build/docker/builder/fedora.repo
exec automation/test.sh
fi