[tbb-commits] [tor-browser-build/master] Bug 28022: Use `/usr/bin/env bash` for bash invocation

boklm at torproject.org boklm at torproject.org
Tue Oct 16 11:34:52 UTC 2018


commit c65b5af3d9c565d4e274fbd8606f0404623a19e1
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Oct 15 17:24:53 2018 +0000

    Bug 28022: Use `/usr/bin/env bash` for bash invocation
    
    We use `/usr/bin/env` for invocation in other scripts already. Let's use
    it in `execdesktop` as well.
---
 projects/tor-browser/RelativeLink/execdesktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/tor-browser/RelativeLink/execdesktop b/projects/tor-browser/RelativeLink/execdesktop
index 27328b2..fa6dc0a 100755
--- a/projects/tor-browser/RelativeLink/execdesktop
+++ b/projects/tor-browser/RelativeLink/execdesktop
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 TBB_START_PROG="$(grep '^X-TorBrowser-ExecShell' $1 | tail -1 | sed 's/^X-TorBrowser-ExecShell=//' | sed 's/%.//')"
 



More information about the tbb-commits mailing list