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

Side by Side Diff: bootstrap/win/git-bash.template.sh

Issue 1848793004: Fix bash math for `git bash` alias. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 4 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 export EDITOR=${EDITOR:=notepad} 2 export EDITOR=${EDITOR:=notepad}
3 WIN_BASE=`dirname $0` 3 WIN_BASE=`dirname $0`
4 UNIX_BASE=`cygpath "$WIN_BASE"` 4 UNIX_BASE=`cygpath "$WIN_BASE"`
5 export PATH=$PATH:$UNIX_BASE/SVN_BIN_DIR:$UNIX_BASE/PYTHON_BIN_DIR:$UNIX_BASE/PY THON_BIN_DIR/Scripts 5 export PATH=$PATH:$UNIX_BASE/SVN_BIN_DIR:$UNIX_BASE/PYTHON_BIN_DIR:$UNIX_BASE/PY THON_BIN_DIR/Scripts
6 export PYTHON_DIRECT=1 6 export PYTHON_DIRECT=1
7 export PYTHONUNBUFFERED=1 7 export PYTHONUNBUFFERED=1
8 if [[ $# > 1 ]]; then 8 if [[ $# > 0 ]]; then
9 $UNIX_BASE/GIT_BIN_DIR/bin/bash.exe "$@" 9 $UNIX_BASE/GIT_BIN_DIR/bin/bash.exe "$@"
10 else 10 else
11 $UNIX_BASE/GIT_BIN_DIR/git-bash.exe & 11 $UNIX_BASE/GIT_BIN_DIR/git-bash.exe &
12 fi 12 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698