Browse Source

deploy-ng: Allow running build_scripts on dotfiles (e.g., .pman)

Mitchell Stokes 8 years ago
parent
commit
2b348b614e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      direct/src/showutil/dist.py

+ 2 - 0
direct/src/showutil/dist.py

@@ -271,6 +271,8 @@ class build_apps(distutils.core.Command):
                     distutils.dir_util.mkpath(dst_dir)
                     distutils.dir_util.mkpath(dst_dir)
 
 
                 ext = os.path.splitext(src)[1]
                 ext = os.path.splitext(src)[1]
+                if not ext:
+                    ext = os.path.basename(src)
                 dst_root = os.path.splitext(dst)[0]
                 dst_root = os.path.splitext(dst)[0]
 
 
                 if ext in self.build_scripts:
                 if ext in self.build_scripts: