diff --git a/wnf.py b/wnf.py index 1204009a23..884f80ccc1 100755 --- a/wnf.py +++ b/wnf.py @@ -90,9 +90,7 @@ def create_cms_files(): def pull(remote, branch): os.system('git pull %s %s' % (remote, branch)) - os.system('cd lib') - os.system('git pull %s %s' % (remote, branch)) - os.system('cd ..') + os.system('cd lib && git pull %s %s' % (remote, branch)) def apply_latest_patches(): import webnotes.modules.patch_handler