* printf -> echo * Update sndev --------- Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
This commit is contained in:
parent
76f90e0691
commit
cc8b16a7e3
2
sndev
2
sndev
|
@ -314,7 +314,7 @@ __sndev__pr_track() {
|
|||
|
||||
push=$(git remote -v | grep -e "$url .*push" | head -n1) || true
|
||||
if [ -n "$push" ]; then
|
||||
remote=$(printf "%s" $(cut -f 1 <<<"$push"))
|
||||
remote=$(echo "$push" | cut -f 1)
|
||||
else
|
||||
remote=$(echo "$json" | grep -e '"login"' | head -n1 | sed -e 's/^.*"login":[[:space:]]*"//; s/",[[:space:]]*$//')
|
||||
git remote remove "$remote" 1>/dev/null 2>&1 || true
|
||||
|
|
Loading…
Reference in New Issue