Updated scripts to support git submodules
This commit is contained in:
@ -9,6 +9,9 @@ function do_git {
|
|||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
git pull
|
||||||
|
if [ -f .gitmodules ]; then
|
||||||
|
git pull --recurse-submodules
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
1603
bin/dropbox.py
Executable file
1603
bin/dropbox.py
Executable file
File diff suppressed because one or more lines are too long
@ -11,7 +11,8 @@ echo "97453163f195ae988657fc1ef4943bddd08705a9"
|
|||||||
# ProbeStar stuff
|
# ProbeStar stuff
|
||||||
mkdir -p ProbeStar
|
mkdir -p ProbeStar
|
||||||
cd ProbeStar
|
cd ProbeStar
|
||||||
for i in Cnomicon Cybersecurity KnowledgeBase linux_tools pi_tools Pynomicon Radio Robotics Software windows_tools
|
rm -rf AutoSecurity CyberSecurity Database
|
||||||
|
for i in Cnomicon Cybersecurity KnowledgeBase Pynomicon Radio Robotics Software git_tools linux_tools pi_tools windows_tools
|
||||||
do
|
do
|
||||||
echo "ProbeStar: $i"
|
echo "ProbeStar: $i"
|
||||||
if [ -d $i ]; then
|
if [ -d $i ]; then
|
||||||
@ -22,9 +23,8 @@ do
|
|||||||
ln -fs ProbeStar/$i
|
ln -fs ProbeStar/$i
|
||||||
cd ProbeStar
|
cd ProbeStar
|
||||||
done
|
done
|
||||||
rm -rf CyberSecurity Database
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
rm CyberSecurity Database
|
rm -f CyberSecurity Database CyVehicle
|
||||||
cp linux_tools/bin/* ~/bin
|
cp linux_tools/bin/* ~/bin
|
||||||
|
|
||||||
# NTCNA stuff
|
# NTCNA stuff
|
||||||
|
|||||||
@ -5,6 +5,9 @@ function do_git {
|
|||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
git pull
|
||||||
|
if [ -f .gitmodules ]; then
|
||||||
|
git pull --recurse-submodules
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,6 +5,9 @@ function do_git {
|
|||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
git pull
|
||||||
|
if [ -f .gitmodules ]; then
|
||||||
|
git pull --recurse-submodules
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user