You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to commit into rcm some files from OrcaSlicer config which contain ( in the filename. I'm getting "/usr/bin/rcup: 1: eval: Syntax error: "(" unexpected runningmkrc *` from the directory.
I think it happens because the dests_and_srcs="$(eval "lsrc $LS_ARGS")" does not properly escape the braces. Shell tries to execute eval my(filename)test and that would trigger spawning a sub-shell to execute filename. Seems like an escaping problem but I'm not sure what's the right way to fix it.
For my use-case I'm luckily able to work around by making the filename not have ('s.
The text was updated successfully, but these errors were encountered:
I'm trying to commit into rcm some files from OrcaSlicer config which contain
(
in the filename. I'm getting "/usr/bin/rcup: 1: eval: Syntax error: "(" unexpectedrunning
mkrc *` from the directory.I think it happens because the
dests_and_srcs="$(eval "lsrc $LS_ARGS")"
does not properly escape the braces. Shell tries to executeeval my(filename)test
and that would trigger spawning a sub-shell to executefilename
. Seems like an escaping problem but I'm not sure what's the right way to fix it.For my use-case I'm luckily able to work around by making the filename not have
(
's.The text was updated successfully, but these errors were encountered: