From 2c331d25601e77d597c37532822142f4596bdf29 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 12 Jun 2012 10:59:35 +0530 Subject: [PATCH] fix in pull --- wnf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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