mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +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/^.*\\///'`;
|
||||
chomp $project;
|
||||
$poject =~ s/\.git$//;
|
||||
die if $project eq "";
|
||||
|
||||
$branch = `git branch | grep '^\*' | sed -e 's/^\* //'`; chomp $branch;
|
||||
|
Reference in New Issue
Block a user