Fixed bug where double quotes are removed from template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11427 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -547,7 +547,9 @@ if ($version eq '10') { | ||||
| } | ||||
|  | ||||
| # Print out template | ||||
| `echo "$tmpl" > $template_path`; | ||||
| open (TMPL, ">$template_path"); | ||||
| print TMPL "$tmpl"; | ||||
| close (TMPL); | ||||
|  | ||||
| open(FILE, $template_path); | ||||
| # Go through each line | ||||
| @@ -586,7 +588,9 @@ while(my $ln = <FILE>) { | ||||
| close(FILE); | ||||
|  | ||||
| # Print out modified template | ||||
| `echo "$mod_tmpl" > $template_path`; | ||||
| open (TMPL, ">$template_path"); | ||||
| print TMPL "$mod_tmpl"; | ||||
| close (TMPL); | ||||
|  | ||||
| # Done | ||||
| print "Done! See autoyast template under $template_path\n"; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user