Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow for other custom configs other than just crowbar.json

  • Loading branch information...
commit bc7ab67e6f63476dcbf000068062759d2de4c6f5 1 parent 069f2f1
@galthaus galthaus authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 build_crowbar.sh
View
7 build_crowbar.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.