89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.88k stars 407 forks source link

[Error] Quotes Escaping works wrong since switching from version `1.6.0` to `1.7.1` #1471

Open belonesox opened 3 months ago

belonesox commented 3 months ago

Quotes Escaping works wrong since switching from version 1.6.0 to 1.7.1

On distrobox version 1.6.0:

$rpm -qa | grep distrobox
distrobox-1.6.0.1-1.fc38.noarch

$DBX_NON_INTERACTIVE=1  distrobox create --name wtf --image fedora:39  --additional-packages "systemd"  --init
$DBX_NON_INTERACTIVE=1 distrobox enter --name wtf  -- sudo bash -c "echo \"*\"   "

Starting container...                            [ OK ]
Installing basic packages...                     [ OK ]
...
Container Setup Complete!
*

On distrobox version 1.7.1:

$ rpm -qa | grep distrobox
distrobox-1.7.1-2.fc38.noarch

$DBX_NON_INTERACTIVE=1  distrobox create --name wtf --image fedora:39  --additional-packages "systemd"  --init
$DBX_NON_INTERACTIVE=1 distrobox enter --name wtf  -- sudo bash -c "echo \"*\"   "

Starting container...                            [ OK ]
Installing basic packages...                     [ OK ]
...
Container Setup Complete!

*Output with list of files in current directory, not ``**