~kalikiana/ubuntu-sdk-ide/lxdfixes

« back to all changes in this revision

Viewing changes to fix-qt-build.py

  • Committer: Tarmac
  • Author(s): Benjamin Zeller
  • Date: 2016-09-22 17:23:31 UTC
  • mfrom: (161.1.1 ubuntu-sdk-ide)
  • Revision ID: tarmac-20160922172331-e6izmjqgkcjbz6pc
Support to package snapcraft projects in the IDE (Step 1).

Approved by ubuntu-sdk-build-bot, Zoltan Balogh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    for root, dirs, files in os.walk(workDir):
25
25
        for file in files:
26
26
            if file.endswith("ubuntu_save_gitmodules"):
27
 
                shutil.move(os.path.join(root, file), os.path.join(root, ".gitmodules"))
 
27
                shutil.copy2(os.path.join(root, file), os.path.join(root, ".gitmodules"))
28
28
 
29
29
    #all subdirectores need a .git dir
30
30
    for entry in os.listdir(workDir):