summaryrefslogtreecommitdiffstats
path: root/sbe/build/tools/sandbox-create
diff options
context:
space:
mode:
Diffstat (limited to 'sbe/build/tools/sandbox-create')
-rwxr-xr-xsbe/build/tools/sandbox-create37
1 files changed, 0 insertions, 37 deletions
diff --git a/sbe/build/tools/sandbox-create b/sbe/build/tools/sandbox-create
deleted file mode 100755
index f52397d5..00000000
--- a/sbe/build/tools/sandbox-create
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-echo " Creating ODE sandbox..."
-
-# Ensure backing build is accessible.
-if [ ! -d "$BACKING_BUILD" ];
-then
- echo " Cannot access the backing build: $BACKING_BUILD"
- exit -1
-fi
-
-SANDBOXRC=${SANDBOXROOT}/sbesandboxrc;
-
-# Delete existing sandbox if it exists.
-if [ -d "$SANDBOXBASE" ];
-then
- # prompt the user to delete the sanbox or not if exist
- echo -ne " Remove existing sandbox? {y/n}:"
- read input
- if [ "$input" == "y" ];then
- echo " Executing : mksb -undo -auto -rc $SANDBOXRC -dir $SANDBOXROOT -sb $SANDBOXNAME"
- mksb -undo -auto -rc $SANDBOXRC -dir $SANDBOXROOT -sb $SANDBOXNAME
- else
- exit 0
- fi
-fi
-
-if [ -d "$SANDBOXBASE" ];
-then
- rm -rf $SANDBOXBASE
- rm -f $SANDBOXRC
-fi
-
-# Create sandbox.
-echo " Sandbox backing build = $BACKING_BUILD"
-echo " mksb -rc $SANDBOXRC -dir $SANDBOXROOT -back $BACKING_BUILD -sb $SANDBOXNAME -m ppc -auto"
-mksb -rc $SANDBOXRC -dir $SANDBOXROOT -back $BACKING_BUILD -sb $SANDBOXNAME -m ppc -auto || exit -1
OpenPOWER on IntegriCloud