- Fix a bug in cdfile that was preventing to use the 'nameoncd' attribute
authorMarc Piulachs <marc.piulachs@live.com>
Mon, 30 Jun 2008 19:12:16 +0000 (19:12 +0000)
committerMarc Piulachs <marc.piulachs@live.com>
Mon, 30 Jun 2008 19:12:16 +0000 (19:12 +0000)
svn path=/trunk/; revision=34225

reactos/boot/bootdata/bootdata.rbuild
reactos/tools/rbuild/cdfile.cpp

index 5e38bec..5ce9ad3 100644 (file)
@@ -5,10 +5,10 @@
        <cdfile>icon.ico</cdfile>
        <cdfile>readme.txt</cdfile>
 
-       <cdfile installbase="$(CDOUTPUT)">hivecls_$(ARCH).inf</cdfile>
-       <cdfile installbase="$(CDOUTPUT)">hivedef_$(ARCH).inf</cdfile>
-       <cdfile installbase="$(CDOUTPUT)">hivesft_$(ARCH).inf</cdfile>
-       <cdfile installbase="$(CDOUTPUT)">hivesys_$(ARCH).inf</cdfile>
+       <cdfile installbase="$(CDOUTPUT)" nameoncd="hivecls.inf">hivecls_$(ARCH).inf</cdfile>
+       <cdfile installbase="$(CDOUTPUT)" nameoncd="hivedef.inf">hivedef_$(ARCH).inf</cdfile>
+       <cdfile installbase="$(CDOUTPUT)" nameoncd="hivesft.inf">hivesft_$(ARCH).inf</cdfile>
+       <cdfile installbase="$(CDOUTPUT)" nameoncd="hivesys.inf">hivesys_$(ARCH).inf</cdfile>
        <cdfile installbase="$(CDOUTPUT)">txtsetup.sif</cdfile>
        <cdfile installbase="$(CDOUTPUT)">unattend.inf</cdfile>
 
index 20a14a9..e577d25 100644 (file)
@@ -60,6 +60,6 @@ CDFile::CDFile ( const Project& project,
                                    &cdfileNode );
        target = new FileLocation ( OutputDirectory,
                                    target_relative_directory,
-                                   nameoncd ? att->value : cdfileNode.value,
+                                   nameoncd ? nameoncd->value : cdfileNode.value,
                                    &cdfileNode );
 }