From: Mike Frysinger Date: Tue, 12 Jun 2012 14:14:41 +0000 (-0400) Subject: update repo stuff X-Git-Url: https://git.wh0rd.org/?p=home.git;a=commitdiff_plain;h=7dae893bb1486087221dc9fc25fa81c0c4c3fc3c update repo stuff --- diff --git a/.bin/cros-repo b/.bin/cros-repo index 711b8d3..b048f6c 100755 --- a/.bin/cros-repo +++ b/.bin/cros-repo @@ -40,7 +40,8 @@ while [[ $# -gt 0 ]] ; do shift ;; -r) - REF=$(realpath "$2") + + REF=$(realpath "${2:-$(echo ~/chromiumos)}") shift ;; *) diff --git a/.bin/r b/.bin/r index d204eb1..469b968 100755 --- a/.bin/r +++ b/.bin/r @@ -20,7 +20,7 @@ rebase) if [[ $1 == "all" ]] ; then shift if [[ $# -eq 0 ]] ; then - exec r forall -p -c 'r rb all .' + exec r forall -p -c 'r rb all .'