X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fsbin%2Ffactory;h=a1d1f3e34bd220012f6f53c7c757379c0341d71b;hb=8b445f9394a0d6524d307aadc7f3d5e81c3bae1a;hp=ebe93b6e2c4f027ab76653d610431295ca080e1e;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/sbin/factory b/rt/sbin/factory index ebe93b6e2..a1d1f3e34 100644 --- a/rt/sbin/factory +++ b/rt/sbin/factory @@ -452,11 +452,11 @@ $ClassAccessible print "About to make $RecordClassPath, $CollectionClassPath\n"; `mkdir -p $path`; - open( RECORD, ">$RecordClassPath" ); + open( RECORD, '>', $RecordClassPath ) or die $!; print RECORD $RecordClass; close(RECORD); - open( COL, ">$CollectionClassPath" ); + open( COL, '>', $CollectionClassPath ) or die $!; print COL $CollectionClass; close(COL);