mirror of
https://github.com/msikma/pokesprite.git
synced 2026-09-14 21:35:09 -05:00
Added 'r' for revision, and changed shebang
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/php
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
// PokéSprite
|
||||
@@ -78,7 +78,7 @@ $cl_settings = $usage->get_user_settings();
|
||||
// Check the current revision number for user feedback and for
|
||||
// inclusion in the output files.
|
||||
$revision = trim(shell_exec('git rev-list HEAD --count 2> /dev/null'));
|
||||
$revision = $revision ? $revision : '[unknown]';
|
||||
$revision = $revision ? 'r'.$revision : '[unknown]';
|
||||
$cl_settings['revision'] = $revision;
|
||||
|
||||
if ($usage->needs_usage) {
|
||||
|
||||
Reference in New Issue
Block a user