projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b1e7d
)
CRM-19229 empty the bower_components folder if it already exists when running distmaker
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 15 Aug 2016 02:00:55 +0000
(12:00 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 15 Aug 2016 02:00:55 +0000
(12:00 +1000)
distmaker/distmaker.sh
patch
|
blob
|
blame
|
history
diff --git
a/distmaker/distmaker.sh
b/distmaker/distmaker.sh
index be5a3c245dcdd5c8841cf46d9d3151d2edf2e75c..7347213bb0c5dbba8a68aa0f81c68bb13159dd16 100755
(executable)
--- a/
distmaker/distmaker.sh
+++ b/
distmaker/distmaker.sh
@@
-229,6
+229,10
@@
fi
## Get latest dependencies
dm_generate_vendor "$DM_SOURCEDIR"
+## if we already have a bower_compoents dir empty it.
+if [ -d "$DM_SOURCEDIR/bower_components" ]; then
+ rm -rf $DM_SOURCEDIR/bower_components/*
+fi
dm_generate_bower "$DM_SOURCEDIR"
# Before anything - regenerate DAOs