- bash $GENII_INSTALL_DIR/xsede_tools/library/bootstrap_quick_start.sh
- if [ $? -ne 0 ]; then echo "failed to bootstrap a container"; return 1; fi
+ bash "$GENII_INSTALL_DIR/xsede_tools/library/bootstrap_quick_start.sh"
+ if [ $? -ne 0 ]; then
+ echo "failed to bootstrap a container."
+ error_sound
+ return 1
+ fi
+
+ success_sound
+}
+
+# a shortcut for building without a clean, and creating a bootstrap container with the code.
+function bu_bootstrap()
+{
+ build_xsede
+ if [ $? -ne 0 ]; then echo "failed to rebuild xsede code"; return 1; fi
+
+ bash "$GENII_INSTALL_DIR/xsede_tools/library/bootstrap_quick_start.sh"
+ if [ $? -ne 0 ]; then
+ echo "failed to bootstrap a container."
+ error_sound
+ return 1
+ fi