build.sh: run quilt upgrade before editing patches
This commit is contained in:
parent
4ad51961e9
commit
a90b6bd094
2
build.sh
2
build.sh
|
@ -46,11 +46,11 @@ EOF
|
||||||
SUB_STAGE_QUILT_PATCH_DIR="$(basename "$SUB_STAGE_DIR")-pc"
|
SUB_STAGE_QUILT_PATCH_DIR="$(basename "$SUB_STAGE_DIR")-pc"
|
||||||
mkdir -p "$SUB_STAGE_QUILT_PATCH_DIR"
|
mkdir -p "$SUB_STAGE_QUILT_PATCH_DIR"
|
||||||
ln -snf "$SUB_STAGE_QUILT_PATCH_DIR" .pc
|
ln -snf "$SUB_STAGE_QUILT_PATCH_DIR" .pc
|
||||||
|
quilt upgrade
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user