Permalink
Browse files

Allow for other custom configs other than just crowbar.json

  • Loading branch information...
1 parent 069f2f1 commit bc7ab67e6f63476dcbf000068062759d2de4c6f5 @galthaus galthaus committed Oct 21, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 build_crowbar.sh
View
@@ -457,10 +457,11 @@ BC_QUERY_STRINGS["test_timeouts"]="smoketest timeouts"
echo "$VERSION" >> "$BUILD_DIR/dell/Version"
# Custom start-up in place
- if [ -f "$CROWBAR_DIR/crowbar.json" ] ; then
+ for f in "$CROWBAR_DIR"/*.json ; do
+ [[ -f $f ]] || continue
mkdir -p "$BUILD_DIR/extra/config"
- cp "$CROWBAR_DIR/crowbar.json" "$BUILD_DIR/extra/config"
- fi
+ cp "$f" "$BUILD_DIR/extra/config"
+ done
final_build_fixups

0 comments on commit bc7ab67

Please sign in to comment.