mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-07-25 15:51:30 +00:00
escape $1 variable in the xdg script where needed
This commit is contained in:
parent
2dd9d8a055
commit
377b075dcc
@ -9,7 +9,7 @@ PREFIX=binary/boot/filesystem.dir
|
|||||||
mkdir -p $PREFIX/usr/local/bin
|
mkdir -p $PREFIX/usr/local/bin
|
||||||
cat >$PREFIX/usr/local/bin/xdg-open <<EOF
|
cat >$PREFIX/usr/local/bin/xdg-open <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"$1"
|
dbus-send --print-reply --session --dest=com.canonical.SafeLauncher / com.canonical.SafeLauncher.OpenURL string:"\$1"
|
||||||
EOF
|
EOF
|
||||||
chmod 755 $PREFIX/usr/local/bin/xdg-open
|
chmod 755 $PREFIX/usr/local/bin/xdg-open
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user