projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef9f4f
)
nice mod that clears out any generated files before doing the bootstrap.
author
Chris Koeritz
<fred@gruntose.com>
Mon, 13 Feb 2012 05:17:05 +0000
(
00:17
-0500)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 13 Feb 2012 05:17:05 +0000
(
00:17
-0500)
scripts/core/bootstrap_shells.sh
patch
|
blob
|
history
diff --git
a/scripts/core/bootstrap_shells.sh
b/scripts/core/bootstrap_shells.sh
index 6f052e72a952738833feef7661fd3474480c0bcc..40836154eeb546b016ecb0b13944071b018c69a8 100644
(file)
--- a/
scripts/core/bootstrap_shells.sh
+++ b/
scripts/core/bootstrap_shells.sh
@@
-25,6
+25,8
@@
export FEISTY_MEOW_GENERATED="$HOME/.zz_auto_gen"
if [ ! -d "$FEISTY_MEOW_GENERATED" ]; then
mkdir "$FEISTY_MEOW_GENERATED"
fi
+# make toast out of generated files right away, but leave any custom scripts.
+find "$FEISTY_MEOW_GENERATED" -maxdepth 1 -type f -exec rm -f "{}" ';' &>/dev/null
if [ ! -d "$FEISTY_MEOW_GENERATED/custom" ]; then
mkdir "$FEISTY_MEOW_GENERATED/custom"
fi