Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions update-repos/update.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/python3

# Author: Steve Zesch

Expand All @@ -7,7 +7,7 @@
# are stored as mate-desktop/mate-common, mate-desktop/mate-doc-utils, etc.

# Obviously, you want the cwd when the script runs to be the folder that
# contains all the mate repos. You can achieve this by copying this
# contains all the mate repos. You can achieve this by copying this
# script from mate-dev-scripts/update-repos to the parent directory,
# running the script via it's path (mate-dev-scripts/update-repos/update.py),
# or by creating a symbolic link. I prefer the symbolic link method.
Expand All @@ -21,5 +21,6 @@
if os.path.isdir(d):
os.chdir(d)
if '.git' in os.listdir('.'):
print(" - ", d)
os.system('git pull')
os.chdir('..')