mirror of
https://github.com/RangeNetworks/dev.git
synced 2026-10-18 13:51:06 +08:00
small fixups, also add NodeManager
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
*.tar.gz
|
||||
a53
|
||||
CommonLibs
|
||||
NodeManager
|
||||
openbts
|
||||
RRLP
|
||||
smqueue
|
||||
|
||||
@@ -26,7 +26,7 @@ sayAndDo () {
|
||||
fi
|
||||
}
|
||||
|
||||
for component in a53 CommonLibs openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
for component in a53 CommonLibs NodeManager openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
do
|
||||
if [ ! -d $component ]; then
|
||||
echo "# cloning $component"
|
||||
|
||||
@@ -26,7 +26,7 @@ sayAndDo () {
|
||||
fi
|
||||
}
|
||||
|
||||
for component in a53 CommonLibs openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
for component in a53 CommonLibs NodeManager openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
do
|
||||
if [ -d $component ]; then
|
||||
echo "# pulling $component"
|
||||
|
||||
@@ -88,12 +88,12 @@ if [ $ANSWER == "yes" ]; then
|
||||
BOOKMARK=`git rev-parse --abbrev-ref HEAD`
|
||||
echo "# - saving bookmark for current workspace branch..."
|
||||
echo "# - renaming..."
|
||||
sayAndDo git checkout -b $OLDNAME --track origin/$OLDNAME
|
||||
sayAndDo git branch -m $OLDNAME $NEWNAME
|
||||
echo "# - pushing to origin..."
|
||||
sayAndDo git push origin --delete $OLDNAME
|
||||
sayAndDo git push origin $NEWNAME
|
||||
sayAndDo git branch -D $NEWNAME
|
||||
sayAndDo git checkout -b $NEWNAME --track origin/$NEWNAME
|
||||
echo "# - restoring workspace branch..."
|
||||
sayAndDo git checkout $BOOKMARK
|
||||
fi
|
||||
|
||||
@@ -41,7 +41,7 @@ else
|
||||
usage
|
||||
fi
|
||||
|
||||
for component in a53 CommonLibs openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
for component in a53 CommonLibs NodeManager openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
do
|
||||
if [ -d $component ]; then
|
||||
echo "########################################################################"
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@ if [ -z "$1" ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
for component in a53 CommonLibs openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
for component in a53 CommonLibs NodeManager openbts RRLP smqueue sqlite3 subscriberRegistry
|
||||
do
|
||||
if [ -d $component ]; then
|
||||
echo "########################################################################"
|
||||
|
||||
Reference in New Issue
Block a user