Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 7132a70

Browse files
committed
added git pull script
1 parent 6e97783 commit 7132a70

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

git_update.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
for file in *; do
4+
if [ -d $file ]; then
5+
if [ $file != 'contrib' ]; then
6+
cd $file
7+
if ! git ls-files >& /dev/null; then
8+
echo "NOT GIT - " $file "not in git"
9+
else
10+
echo "Pulling git repro in" $file; git pull;
11+
fi
12+
cd ..;
13+
fi
14+
fi
15+
done

0 commit comments

Comments
 (0)