mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-06 00:41:14 +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
|
||||
cat >$PREFIX/usr/local/bin/xdg-open <<EOF
|
||||
#!/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
|
||||
chmod 755 $PREFIX/usr/local/bin/xdg-open
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user