projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
834ed8d
)
Fix static creation in install_dev
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Dec 2010 20:03:05 +0000
(13:03 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 6 Dec 2010 20:21:23 +0000
(13:21 -0700)
framework/bin/install_dev
patch
|
blob
|
history
diff --git
a/framework/bin/install_dev
b/framework/bin/install_dev
index
f2f78af
..
fa17a86
100755
(executable)
--- a/
framework/bin/install_dev
+++ b/
framework/bin/install_dev
@@
-149,7
+149,17
@@
foreach (new DirectoryIterator($horde_git . '/horde') as $it) {
}
}
-chmod($web_dir . '/static', $static_mode);
+if (file_exists($web_dir . '/static')) {
+ echo 'Setting static directory permissions...';
+ chmod($web_dir . '/static', $static_mode);
+} else {
+ echo 'Creating static directory...';
+ mkdir($web_dir . '/static', $static_mode);
+}
+
+if ($static_group) {
+ chgrp($web_dir . '/static', $static_group);
+}
print "\nLINKING framework\n";
mkdir($web_dir . '/libs');