Skip to content
  • Roland Kammerer's avatar
    testing/drbd9-grsec: fix prepare logic · 26b20352
    Roland Kammerer authored and Natanael Copa's avatar Natanael Copa committed
    - $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.
    26b20352