Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
23 changes: 0 additions & 23 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@
// phd_version() done
// php_history() done

// ugly: make_scripts_executable

const RNG_SCHEMA_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'docbook' . DIRECTORY_SEPARATOR . 'docbook-5.2.1' . DIRECTORY_SEPARATOR . 'rng' . DIRECTORY_SEPARATOR;
const RNG_SCHEMA_FILE = RNG_SCHEMA_DIR . 'docbook.rng';
const RNG_SCHEMA_XINCLUDE_FILE = RNG_SCHEMA_DIR . 'docbookxi.rng';
Expand Down Expand Up @@ -192,25 +190,6 @@ function find_file($file_array) // {{{
return '';
} // }}}

// Recursive glob() with a callback function {{{
function globbetyglob($globber, $userfunc)
{
foreach (glob("$globber/*") as $file) {
if (is_dir($file)) {
globbetyglob($file, $userfunc);
} else {
call_user_func($userfunc, $file);
}
}
} // }}}

function make_scripts_executable($filename) // {{{
{
if (substr($filename, -3) == '.sh') {
chmod($filename, 0755);
}
} // }}}

function print_xml_errors()
{
global $ac;
Expand Down Expand Up @@ -532,8 +511,6 @@ function find_xml_files($path) // {{{
$ac["ONLYDIR"] = dirname(realpath($ac["GENERATE"]));
}

globbetyglob("{$ac['basedir']}/scripts", 'make_scripts_executable');

git_clean(); // Idempotent clean up
git_status(); // Show local repository status

Expand Down
Empty file modified scripts/helpers/phpdoc-completion.sh
100755 → 100644
Empty file.
Loading