From bcf0de27bce41943793118baae0d6ccf3df89ccf Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 11 Jan 2009 21:35:23 +0000 Subject: [PATCH] Clarify use of split_quoted_on_whitespace() until I fix it to suck less svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=909596 --- kdesvn-build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kdesvn-build b/kdesvn-build index 7223b98..8d736ae 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -838,6 +838,9 @@ sub get_output_file # http://www.perlmonks.org/?node_id=212174. Converted to an extended RE for readability by # mpyne. # +# Note: This only works if the quotes completely surround the parameter in question. +# i.e. "a=-DFOO -DBAR" works, a="-DFOO -DBAR" does not. +# # First parameter: String to split on whitespace. # Return value: A list of the individual words and quoted values in the string. sub split_quoted_on_whitespace($)