Skip to content

Commit

Permalink
Update gitreceive
Browse files Browse the repository at this point in the history
changed perl for sed; now working on CoreOS
fixed issue progrium#24
  • Loading branch information
Paperback committed Aug 13, 2015
1 parent 251924d commit d943e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitreceive
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ strip_root_slash() {
# overridden by the use of a 'forced command' (see install_authorized_key()). The forced command needs to know what repo
# to act on.
parse_repo_from_ssh_command() {
awk '{print $2}' | perl -pe 's/(?<!\\)'\''//g' | sed 's/\\'\''/'\''/g' | strip_root_slash
awk '{print $2}' | sed -e "s/'\(.*\)'/\1/" | sed 's/\\'\''/'\''/g' | strip_root_slash
}

# Create a git-enabled folder ready to receive git activity, like `git push'
Expand Down

0 comments on commit d943e08

Please sign in to comment.