build.sh: run quilt upgrade before editing patches

This commit is contained in:
Serge Schneider 2019-06-07 15:41:33 +01:00
parent 4ad51961e9
commit a90b6bd094

View file

@ -46,11 +46,11 @@ EOF
SUB_STAGE_QUILT_PATCH_DIR="$(basename "$SUB_STAGE_DIR")-pc"
mkdir -p "$SUB_STAGE_QUILT_PATCH_DIR"
ln -snf "$SUB_STAGE_QUILT_PATCH_DIR" .pc
quilt upgrade
if [ -e "${SUB_STAGE_DIR}/${i}-patches/EDIT" ]; then
echo "Dropping into bash to edit patches..."
bash
fi
quilt upgrade
RC=0
quilt push -a || RC=$?
case "$RC" in