Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Parameter list with double quotes does not pass through properly in Bash
- echo $SVN $command $@ > /tmp/shimcmd
- bash /tmp/shimcmd
- $SVN $command $@
- svn commit --username=myuser --password=mypass --non-interactive --trust-server-cert -m "Auto Update autocommit Wed Apr 11 17:33:37 CDT 2012"
- $SVN $command $@
- eval "$SVN $command $@"
- $ args='-m "foo bar"'
- $ printf '<%s> ' $args
- <-m> <"foo> <bar">
- $ args=( -m "foo bar" )
- $ printf '<%s> ' "${args[@]}"
- <-m> <foo bar>
- echo -n -e $SVN "$command" > /tmp/shimcmd
- for x in "$@"
- do
- a=$a" ""$x"
- done
- echo -e " " $a >> /tmp/shimcmd
- bash /tmp/shimcmd
- $SVN "$command" "$@"
Add Comment
Please, Sign In to add comment