diff options
author | Chih-Hsuan Yen | 2018-10-18 19:43:08 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-10-18 19:43:08 +0800 |
commit | df6cb3c103f18472158bcbbd9128c964ef4183da (patch) | |
tree | d716c1e51035d26272c4792e000c89636e97c43f /vpython-use-system-python2.patch | |
parent | 7120b5dc82f5ee65ef605f205da2f5cb8f7f9544 (diff) | |
download | aur-df6cb3c103f18472158bcbbd9128c964ef4183da.tar.gz |
fix vpython and fix+simplify gsutil
Diffstat (limited to 'vpython-use-system-python2.patch')
-rw-r--r-- | vpython-use-system-python2.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vpython-use-system-python2.patch b/vpython-use-system-python2.patch new file mode 100644 index 000000000000..a1d8a8d13a2e --- /dev/null +++ b/vpython-use-system-python2.patch @@ -0,0 +1,22 @@ +diff --git a/vpython b/vpython +index 9befaa690..03ebe525b 100755 +--- a/vpython ++++ b/vpython +@@ -4,7 +4,7 @@ + # Use of this source code is governed by a BSD-style license that can be + # found in the LICENSE file. + +-if [[ $VPYTHON_BYPASS == "manually managed python not supported by chrome operations" ]] ++if [[ 1 ]] + then + NEWARGS=() + while [[ $# -gt 0 ]] +@@ -30,7 +30,7 @@ then + ;; + esac + done +- exec "python" "${NEWARGS[@]}" ++ exec "python2" "${NEWARGS[@]}" + fi + + |