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

Unified Diff: git-squash-branch

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git-runhooks ('k') | git-thaw » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-squash-branch
diff --git a/git-squash-branch b/git-squash-branch
index 6f9e79f1d23ec33634e810d70703f0905fbdb2b6..0fb1832520c74feb5991868397fc5737eb71aa35 100755
--- a/git-squash-branch
+++ b/git-squash-branch
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# git_squash_branch.py -- Collapses the current branch to a single commit.
-. $(type -P python_git_runner.sh)
+. $(type -P python_git_runner.sh)
« no previous file with comments | « git-runhooks ('k') | git-thaw » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698