Add empty lines
This commit is contained in:
parent
611c34e734
commit
cdd5e49aea
1 changed files with 7 additions and 0 deletions
7
build.sh
7
build.sh
|
@ -114,12 +114,16 @@ task_patches() {
|
||||||
if [ -d ${i}-patches ]; then
|
if [ -d ${i}-patches ]; then
|
||||||
log_begin "$SUB_STAGE_DIR/$i-patches"
|
log_begin "$SUB_STAGE_DIR/$i-patches"
|
||||||
pushd ${STAGE_WORK_DIR} > /dev/null
|
pushd ${STAGE_WORK_DIR} > /dev/null
|
||||||
|
|
||||||
rm -rf .pc
|
rm -rf .pc
|
||||||
rm -rf *-pc
|
rm -rf *-pc
|
||||||
|
|
||||||
QUILT_PATCHES=${SUB_STAGE_DIR}/${i}-patches
|
QUILT_PATCHES=${SUB_STAGE_DIR}/${i}-patches
|
||||||
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
|
||||||
|
|
||||||
if [ -e ${SUB_STAGE_DIR}/${i}-patches/EDIT ]; then
|
if [ -e ${SUB_STAGE_DIR}/${i}-patches/EDIT ]; then
|
||||||
tput setaf 3 # Yellow color
|
tput setaf 3 # Yellow color
|
||||||
echo 'Dropping into bash to edit patches...'
|
echo 'Dropping into bash to edit patches...'
|
||||||
|
@ -133,9 +137,11 @@ task_patches() {
|
||||||
|
|
||||||
bash
|
bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
quilt upgrade
|
quilt upgrade
|
||||||
RC=0
|
RC=0
|
||||||
quilt push -a || RC=$?
|
quilt push -a || RC=$?
|
||||||
|
|
||||||
case "$RC" in
|
case "$RC" in
|
||||||
0|2)
|
0|2)
|
||||||
;;
|
;;
|
||||||
|
@ -143,6 +149,7 @@ task_patches() {
|
||||||
false
|
false
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
log_end "$SUB_STAGE_DIR/$i-patches"
|
log_end "$SUB_STAGE_DIR/$i-patches"
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue