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

This commit is contained in:
Mitchell Stokes 2017-05-07 18:43:35 -07:00
parent 0ee6a46a62
commit 2b348b614e

View File

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