build.sh: fix patches

This commit is contained in:
Serge Schneider 2016-05-05 16:55:35 +01:00
parent b61c63db8f
commit de878cc217

View File

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