diff options
Diffstat (limited to 'meson/test cases/frameworks/6 gettext/generated/desktopgenerator.py')
-rw-r--r-- | meson/test cases/frameworks/6 gettext/generated/desktopgenerator.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/frameworks/6 gettext/generated/desktopgenerator.py b/meson/test cases/frameworks/6 gettext/generated/desktopgenerator.py new file mode 100644 index 000000000..e49c2d6dc --- /dev/null +++ b/meson/test cases/frameworks/6 gettext/generated/desktopgenerator.py @@ -0,0 +1,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) |