Skip to content

Commit

Permalink
remove -r flag
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed Apr 6, 2016
1 parent 27cfb56 commit 2c8c361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gammapy/data/data_store.py
Expand Up @@ -337,7 +337,7 @@ def copy_obs(self, obs_table, outdir):
loc = subhdutable._location_info(ii)
targetdir = outdir / loc.file_dir
targetdir.mkdir(exist_ok=True, parents=True)
cmd = ['cp', '-r', str(loc.path()), str(targetdir)]
cmd = ['cp', str(loc.path()), str(targetdir)]
subprocess.call(cmd)

subhdutable.write(str(outdir/self.DEFAULT_HDU_TABLE), format='fits')
Expand Down

0 comments on commit 2c8c361

Please sign in to comment.