summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/input.pl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/input.pl')
-rw-r--r--source4/build/smb_build/input.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/build/smb_build/input.pl b/source4/build/smb_build/input.pl
index 8b5b904f1e..91ce42bdc8 100644
--- a/source4/build/smb_build/input.pl
+++ b/source4/build/smb_build/input.pl
@@ -6,6 +6,17 @@
### Released under the GNU GPL ###
###########################################################
+sub strtrim($)
+{
+ my $str = shift;
+ my @ar = ();
+
+ $str =~ s/^[\t\n ]*//g;
+
+ $str =~ s/[\t\n ]*$//g;
+
+ return $str;
+}
sub str2array($)
{