mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 10:48:18 +08:00
pick off .git ending
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
$project = `git config --get remote.origin.url | sed -e 's/\\/\$//' | sed -e 's/^.*\\///'`;
|
$project = `git config --get remote.origin.url | sed -e 's/\\/\$//' | sed -e 's/^.*\\///'`;
|
||||||
chomp $project;
|
chomp $project;
|
||||||
|
$poject =~ s/\.git$//;
|
||||||
die if $project eq "";
|
die if $project eq "";
|
||||||
|
|
||||||
$branch = `git branch | grep '^\*' | sed -e 's/^\* //'`; chomp $branch;
|
$branch = `git branch | grep '^\*' | sed -e 's/^\* //'`; chomp $branch;
|
||||||
|
Reference in New Issue
Block a user