Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfixes #1

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
undeclared variables fix
James Michael DuPont committed Sep 26, 2012
commit a59c6d355bd74e54aaa6cfc3dad2ba03168fee2a
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all : bootstrap
all : drushcompile

drushcompile:
hphp -o hphpout -k 1 -t cpp drushcompile.php
2 changes: 1 addition & 1 deletion includes/cache.inc
Original file line number Diff line number Diff line change
@@ -400,7 +400,7 @@ class DrushFileCache implements DrushCacheInterface {
}
}

function isEmpty() {
function isEmpty($dir) {
$files = drush_scan_directory($dir, "//", array('.', '..'));
return empty($files);
}
2 changes: 1 addition & 1 deletion includes/filesystem.inc
Original file line number Diff line number Diff line change
@@ -499,7 +499,7 @@ function _drush_delete_registered_files() {
drush_delete_dir($file, TRUE);
}
else {
@chmod($dir, 0777); // Make file writeable
@chmod($file, 0777); // Make file writeable
unlink($file);
}
}