projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69141d
)
More error checking
author
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 31 Aug 2010 15:06:13 +0000
(09:06 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Tue, 31 Aug 2010 15:06:41 +0000
(09:06 -0600)
framework/bin/install_framework
patch
|
blob
|
history
diff --git
a/framework/bin/install_framework
b/framework/bin/install_framework
index
5e47869
..
ce1bfe3
100755
(executable)
--- a/
framework/bin/install_framework
+++ b/
framework/bin/install_framework
@@
-198,6
+198,10
@@
foreach ($pkgs as $key => $val) {
}
foreach ($pkg_ob->getInstallationFilelist() as $file) {
$orig = realpath($val . '/' . $file['attribs']['name']);
+ if (empty($orig)) {
+ $cli->message('Install file does not seem to exist: ' . $val . '/' . $file['attribs']['name'], 'cli.error');
+ continue;
+ }
switch ($file['attribs']['role']) {
case 'horde':