summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b3de4a8)
Escape "*" for wild card and "!" just in case as well.
shift
# we need to a little sanitizing of msg ids so the shell
# doesn't mangle them
shift
# we need to a little sanitizing of msg ids so the shell
# doesn't mangle them
- ARGS=`echo $@ | sed 's/\\$/\\\\$/g'`
+ ARGS=`echo $@ | sed 's/[\\$\\*\\!]/\\\&/g'`
$SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${CMD} ${ARGS}
}
$SSH_BIN $USER@$SSH_HOST $NOTMUCH_REMOTE_BIN ${CMD} ${ARGS}
}