[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/xorg][debian-unstable] 20x11-common_process-args: Only use the first word for command -v



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / xorg

Commits:

  • 51301f83
    by Jochen Sprickerhof at 2025-08-07T15:09:16+02:00
    20x11-common_process-args: Only use the first word for command -v
    
    Ref: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/2116224
    Regression of 2e17551
    

1 changed file:

Changes:

  • debian/local/Xsession.d/20x11-common_process-args
    ... ... @@ -33,7 +33,7 @@ case $# in
    33 33
             ;;
    
    34 34
           *)
    
    35 35
             # Specific program was requested.
    
    36
    -        if command -v "$1" >/dev/null; then
    
    36
    +        if command -v "${1%% *}" >/dev/null; then
    
    37 37
               STARTUP="$1"
    
    38 38
             else
    
    39 39
               message "unable to launch \"$1\" X session ---" \
    


  • Reply to: