summaryrefslogtreecommitdiffstats
path: root/loader2/cdinstall.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-13 07:14:58 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-13 07:14:58 +0000
commitfbf80e90c2b9595edf7857e5f19f2b64b4931508 (patch)
tree2de90377331e926aeeaccd5837e8cf872d08fda4 /loader2/cdinstall.c
parent234a0ed83bf5b06ccffb911463d3e39ae469d9f6 (diff)
downloadanaconda-fbf80e90c2b9595edf7857e5f19f2b64b4931508.tar.gz
anaconda-fbf80e90c2b9595edf7857e5f19f2b64b4931508.tar.xz
anaconda-fbf80e90c2b9595edf7857e5f19f2b64b4931508.zip
don't substitute PRODUCTNAME at build time and instead read it from
/.buildstamp at runtime
Diffstat (limited to 'loader2/cdinstall.c')
-rw-r--r--loader2/cdinstall.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/loader2/cdinstall.c b/loader2/cdinstall.c
index 0fa8c5901..189290195 100644
--- a/loader2/cdinstall.c
+++ b/loader2/cdinstall.c
@@ -135,8 +135,8 @@ static char * mediaCheckCdrom(char *cddriver) {
static void wrongCDMessage(void) {
char *buf = sdupprintf(_("The %s CD was not found "
"in any of your CDROM drives. Please insert "
- "the %s CD and press %s to retry."), PRODUCTNAME,
- PRODUCTNAME, _("OK"));
+ "the %s CD and press %s to retry."), getProductName(),
+ getProductName(), _("OK"));
newtWinMessage(_("Error"), _("OK"), buf, _("OK"));
free(buf);
}
@@ -342,13 +342,13 @@ char * setupCdrom(char * location,
if (foundinvalid)
buf = sdupprintf(_("No %s CD was found which matches your "
"boot media. Please insert the %s CD "
- "and press %s to retry."), PRODUCTNAME,
- PRODUCTNAME, _("OK"));
+ "and press %s to retry."), getProductName(),
+ getProductName(), _("OK"));
else
buf = sdupprintf(_("The %s CD was not found in any of your "
"CDROM drives. Please insert the %s CD "
- "and press %s to retry."), PRODUCTNAME,
- PRODUCTNAME, _("OK"));
+ "and press %s to retry."), getProductName(),
+ getProductName(), _("OK"));
rc = newtWinChoice(_("CD Not Found"),
_("OK"), _("Back"), buf, _("OK"));