summaryrefslogtreecommitdiffstats
path: root/test cases/frameworks/6 gettext/generated/desktopgenerator.py
blob: e49c2d6dc3ee086e0a663ac9d36fff60b1f4b3d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import os, sys, shutil

ifile = sys.argv[1]
ofile = sys.argv[2]

try:
    os.unlink(ofile)
except FileNotFoundError:
    pass

shutil.copy(ifile, ofile)