diff --git a/trm.sh b/trm.sh index 535da30..0b401ea 100755 --- a/trm.sh +++ b/trm.sh @@ -191,7 +191,7 @@ # a filename. Needed to preserve spaces in file/dirnames IFS='>' - CMD="${OPERATOR} $VERBOSE -- '${REALPATH}' '${DESDIR}/${DESFIL}'" + CMD="${OPERATOR} $VERBOSE -- \"${REALPATH}\" \"${DESDIR}/${DESFIL}\"" # If we're in test mode, just show what we would do