Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: man/src/depot_tools_tutorial.demo.walkthrough.sh

Issue 197213008: Invoke the bash shell via /usr/bin/env so that these scripts run on operating systems without /bin/… (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Use "/usr/bin/env bash" for these files too. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « man/src/demo_repo.sh ('k') | man/src/git-freeze.demo.1.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/usr/bin/env bash
2 BLANK_DEMO=1 2 BLANK_DEMO=1
3 . demo_repo.sh 3 . demo_repo.sh
4 4
5 trunc() { 5 trunc() {
6 echo ... truncated output ... 6 echo ... truncated output ...
7 } 7 }
8 8
9 trunc_command() { 9 trunc_command() {
10 pcommand "$@" 10 pcommand "$@"
11 trunc 11 trunc
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 run git add "$WS" 146 run git add "$WS"
147 run git diff --cached 147 run git diff --cached
148 148
149 comment "Much better" 149 comment "Much better"
150 run git rebase --continue 150 run git rebase --continue
151 run git rebase-update 151 run git rebase-update
152 silent git tag -d $(git tag -l 'stage_*') 152 silent git tag -d $(git tag -l 'stage_*')
153 trunc_command gclient sync 153 trunc_command gclient sync
154 map 154 map
155 trunc_command git cl upload 155 trunc_command git cl upload
OLDNEW
« no previous file with comments | « man/src/demo_repo.sh ('k') | man/src/git-freeze.demo.1.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698