Commit 26b20352 authored by Committed by Natanael Copa
testing/drbd9-grsec: fix prepare logic
- $PWD is already at $srcdir => first cd to $startdir. - If we don't find an APKBUILD for the kernel flavor, error out. - We are in a sub-shell, we do not have to protect $pkgname. - Return 0 in case we did not "die", otherwise in the positive case where the last check succeeds, it sets the sub-shell return value to 1, which then triggers the failure path.
Showing with 7 additions and 5 deletions