summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2013-05-24 17:13:51 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2013-05-24 17:13:51 +0000
commitadc08e60940e8f8da8fc2a3bd64eddbeca32772b (patch)
tree0c1fa433711699309f50a6ba78402a26d13f2e5a
parent5260be4442f3ae758732bdf388b16c1602647f52 (diff)
downloadmorphs-adc08e60940e8f8da8fc2a3bd64eddbeca32772b.tar.gz
install-files handles empty INSTALL_FILES variable
-rwxr-xr-xinstall-files.configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/install-files.configure b/install-files.configure
index 8097109..669fc51 100755
--- a/install-files.configure
+++ b/install-files.configure
@@ -50,6 +50,8 @@ class InstallFilesConfigureExtension(cliapp.Application):
'''
def process_args(self, args):
+ if not 'INSTALL_FILES' in os.environ:
+ return
target_root = args[0]
manifests = shlex.split(os.environ['INSTALL_FILES'])
for manifest in manifests: