Ticket #26951: 0001-Fix-execdesktop-argument-passing.patch

File 0001-Fix-execdesktop-argument-passing.patch, 874 bytes (added by benburrill, 2 years ago)

Fixes the bug

  • RelativeLink/execdesktop

    From c42801fa32d61e3762c9fd81aff8561e475200a9 Mon Sep 17 00:00:00 2001
    From: Ben Burrill <bburrill98@gmail.com>
    Date: Thu, 26 Jul 2018 14:31:54 -0700
    Subject: [PATCH] Fix execdesktop argument passing
    
    Prior to this change, arguments with spaces were flattened, so running
    
        ./start-tor-browser.desktop --search "hello world"
    
    would be converted to
    
        ./start-tor-browser.desktop --search hello world
    
    opening up two windows, one search for "hello" and one trying to connect
    to http://world
    ---
     RelativeLink/execdesktop | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/RelativeLink/execdesktop b/RelativeLink/execdesktop
    index 0dc7a42..27328b2 100755
    a b else 
    1111  echo "Launching '${TBB_START_PROG}'..."
    1212fi
    1313
    14 eval "${TBB_START_PROG} $@"
     14${TBB_START_PROG} "$@"