Don't pass parameters when souring scripts
Passing additional parameters when sourcing scripts is not specified in POSIX [1]. For example dash simply ignores it and proposes to use set instead [2]. This is needed to use sxmo on top of Debian. [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713805#10 Signed-off-by: Anjandev Momi <anjan@momi.ca>
This commit is contained in:
parent
5e327629d9
commit
06a6d472d7
1 changed files with 2 additions and 1 deletions
|
@ -113,7 +113,8 @@ startdwm() {
|
|||
|
||||
exec dbus-run-session sh -c "
|
||||
$0 daemonsneedingdbus;
|
||||
. $0 customxinit;
|
||||
set -- customxinit
|
||||
. $0
|
||||
dwm 2> "$XDG_CACHE_HOME/sxmo/dwm.log"
|
||||
"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue