16 lines
433 B
Bash
Executable File
16 lines
433 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
#!/bin/sh
|
|
if test "$PATCH_PROJECT" != ""; then
|
|
project="$PATCH_PROJECT"
|
|
elif grep -q -e "devel@edk2.groups.io" "$file"; then
|
|
project="edk2"
|
|
elif grep -q -e "qemu-devel@nongnu.org" "$file"; then
|
|
project="qemu"
|
|
# [ ... more checks snipped ... ]
|
|
fi
|
|
if test "$project" = ""; then
|
|
echo "Can't figure project automatically."
|
|
echo "Use env var PATCH_PROJECT to specify path."
|
|
fi
|