Simplify SETPROP macro
authorQuentin Rameau <quinq@fifth.space>
Thu, 4 May 2017 14:49:17 +0000 (16:49 +0200)
committerQuentin Rameau <quinq@fifth.space>
Mon, 8 May 2017 09:30:20 +0000 (11:30 +0200)
commit654d527f87e59c6c9f507402878bed62398c4e61
treeee8edfe2fabe313c1bcfe01efbfa363f87ad847c
parentd984d12de719f6a8e7f96c04ad3a53ab73a27df8
Simplify SETPROP macro

Get rid of xargs by using a subshell instead.
Use two replacement commands in sed because back-references in BRE are
too differently implemented in different libc.
Rename p, q, to reflect what they're used for.
Reorder sh positional arguments.
Set $0 to a command name and shift other positional parameters to
clarify the "sh -c" command.
config.def.h