Skip to content

Commit 3532b30

Browse files
committed
cambio menor
1 parent 6fce236 commit 3532b30

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function downloadLibs() {
9999

100100
function downloadTemplates() {
101101

102-
local TEMPLATES_FOLDER="../templates"
102+
local TEMPLATES_FOLDER="$1/templates"
103103

104104
if [ -e "$TEMPLATES_FOLDER" ]; then
105105
if [ ! -d "$TEMPLATES_FOLDER" ]; then
@@ -109,6 +109,7 @@ function downloadTemplates() {
109109
else
110110
mkdir "$TEMPLATES_FOLDER"
111111
cp $ORIGIN/templates/* "$TEMPLATES_FOLDER"
112+
info "Creating lib folder... ../$TEMPLATES_FOLDER"
112113
fi
113114
}
114115

@@ -647,7 +648,7 @@ function processFolder() {
647648
info "==============================="
648649
info "Processing folder... ../$FOLDER"
649650

650-
downloadTemplates
651+
downloadTemplates "$FOLDER"
651652

652653
if [ -e "$FOLDER/build.properties" ]; then
653654
info "Overwriting properties... ../build.properties"

0 commit comments

Comments
 (0)