~skiqqy/skelly

02e23792d6a3a9211a147004a7b61aec8f8fc737 — Stephen Cochrane 4 months ago 667ca68 master
only add remote if its not null
1 files changed, 2 insertions(+), 1 deletions(-)

M skelly.sh
M skelly.sh => skelly.sh +2 -1
@@ 381,9 381,10 @@ s_new()
			local tmp
			tmp=$(basename "$proj")
			git init && git add . && git commit -m init
			git remote add origin "$git_remote/${tmp,,}"
			[ -n "$git_remote" ] && git remote add origin "$git_remote/${tmp,,}"
		fi
	popd > /dev/null || return 1
	return 0 # Force 0 exit code.
}

main()