We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 223ad0c commit 61cdbf1Copy full SHA for 61cdbf1
test/test.py
@@ -713,10 +713,9 @@ def maybeUpdateRefImages(options, browser):
713
if options.noPrompts or prompt('Would you like to update the master copy in ref/?'):
714
sys.stdout.write(' Updating ref/ ... ')
715
716
- # XXX unclear what to do on errors here ...
717
- # NB: do *NOT* pass --delete to rsync. That breaks this
718
- # entire scheme.
719
- subprocess.check_call(( 'rsync', '-arvq', 'tmp/', 'ref/' ))
+ if not os.path.exists('ref'):
+ subprocess.check_call('mkdir ref', shell = True)
+ subprocess.check_call('cp -Rf tmp/* ref/', shell = True)
720
721
print 'done'
722
else:
0 commit comments