mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-11 00:00:06 +00:00
Merge commit 'ee44f9e112a71ef6fa5aacdf65a43862a5a89279'
This commit is contained in:
commit
936b0d6dea
1 changed files with 3 additions and 2 deletions
|
@ -267,9 +267,10 @@ app="$outdir"/usrbin/"$appname"
|
|||
command strip "$app".tmp
|
||||
|
||||
command mkdir -- "$workdir"/repo
|
||||
command git -C "$workdir"/repo init --
|
||||
command git -C "$workdir"/repo init
|
||||
command git -C "$workdir"/repo config user.name "Your Name"
|
||||
command git -C "$workdir"/repo config user.email "you@example.com"
|
||||
command git -C "$workdir"/repo commit --allow-empty --allow-empty-message -m ''
|
||||
command git -C "$workdir"/repo commit --allow-empty --allow-empty-message --no-gpg-sign -m ''
|
||||
|
||||
resp="$(printf "hello\037$workdir/repo\036" | "$app".tmp)"
|
||||
[ -n "$resp" -a -z "${resp##hello*1*$workdir/repo*master*}" ]
|
||||
|
|
Loading…
Reference in a new issue