Skip to content

Commit 2e30e85

Browse files
author
damitha
committed
git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@147341 a5903396-d722-0410-b921-86c7d4935375
1 parent 6fd8026 commit 2e30e85

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
#!/bin/bash
22
source ./demorc
3-
count=$1
4-
for I in `seq 1 $count`; do nova delete test$I; done
3+
fromCount=$1
4+
toCount=$2
55

6+
if [ -z $fromCount ]; then
7+
fromCount=1
8+
fi
9+
if [ -z $toCount ]; then
10+
toCount=1
11+
fi
12+
13+
for I in `seq $fromCount $toCount`; do nova delete test$I; done

0 commit comments

Comments
 (0)