default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&

if [[ "${BTRFS_PROGS_BRANCH}" == "scm" ]]; then
  ./autogen.sh
fi &&

apply_patch_dir patches
