Updated scripts to support git submodules
This commit is contained in:
@ -9,6 +9,9 @@ function do_git {
|
||||
cd $1
|
||||
git ls-remote --get-url
|
||||
git pull
|
||||
if [ -f .gitmodules ]; then
|
||||
git pull --recurse-submodules
|
||||
fi
|
||||
cd ..
|
||||
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
|
||||
mkdir -p 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
|
||||
echo "ProbeStar: $i"
|
||||
if [ -d $i ]; then
|
||||
@ -22,9 +23,8 @@ do
|
||||
ln -fs ProbeStar/$i
|
||||
cd ProbeStar
|
||||
done
|
||||
rm -rf CyberSecurity Database
|
||||
cd $HOME
|
||||
rm CyberSecurity Database
|
||||
rm -f CyberSecurity Database CyVehicle
|
||||
cp linux_tools/bin/* ~/bin
|
||||
|
||||
# NTCNA stuff
|
||||
|
||||
@ -5,6 +5,9 @@ function do_git {
|
||||
cd $1
|
||||
git ls-remote --get-url
|
||||
git pull
|
||||
if [ -f .gitmodules ]; then
|
||||
git pull --recurse-submodules
|
||||
fi
|
||||
cd ..
|
||||
echo
|
||||
}
|
||||
|
||||
@ -5,6 +5,9 @@ function do_git {
|
||||
cd $1
|
||||
git ls-remote --get-url
|
||||
git pull
|
||||
if [ -f .gitmodules ]; then
|
||||
git pull --recurse-submodules
|
||||
fi
|
||||
cd ..
|
||||
echo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user