1
0
Fork 0

Add empty lines

This commit is contained in:
Braiden Vasco 2017-07-02 18:54:31 +00:00
parent 611c34e734
commit cdd5e49aea

View file

@ -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