Setup Paper before applying patches
This commit is contained in:
@@ -26,9 +26,11 @@ echo "----------------------------------------"
|
||||
set -e
|
||||
|
||||
subtasks=1
|
||||
|
||||
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Update Git submodules.."
|
||||
git submodule update --init --recursive
|
||||
updatepaper=$2
|
||||
if [ "$updatepaper" == "1" ]; then
|
||||
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Update Git submodules.."
|
||||
git submodule update --init --recursive
|
||||
fi
|
||||
|
||||
if [[ "$2" == "--resetPaper" ]]; then
|
||||
echo " $(bashcolor 1 32)(0/$subtasks)$(bashcolorend) - Reset Paper submodule.."
|
||||
|
||||
Reference in New Issue
Block a user