summaryrefslogtreecommitdiffstats
path: root/loader2/nfsinstall.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/nfsinstall.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/nfsinstall.c')
-rw-r--r--loader2/nfsinstall.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader2/nfsinstall.c b/loader2/nfsinstall.c
index 5caffdd40..e760936b8 100644
--- a/loader2/nfsinstall.c
+++ b/loader2/nfsinstall.c
@@ -48,7 +48,7 @@ int nfsGetSetup(char ** hostptr, char ** dirptr) {
entries[1].flags = NEWT_FLAG_SCROLL;
entries[2].text = NULL;
entries[2].value = NULL;
- buf = sdupprintf(_(netServerPrompt), "NFS", PRODUCTNAME);
+ buf = sdupprintf(_(netServerPrompt), "NFS", getProductName());
rc = newtWinEntries(_("NFS Setup"), buf, 60, 5, 15,
24, entries, _("OK"), _("Back"), NULL);
free(buf);
@@ -208,11 +208,11 @@ char * mountNfsImage(struct installMethod * method,
if (foundinvalid)
buf = sdupprintf(_("The %s installation tree in that "
"directory does not seem to match "
- "your boot media."), PRODUCTNAME);
+ "your boot media."), getProductName());
else
buf = sdupprintf(_("That directory does not seem to "
"contain a %s installation tree."),
- PRODUCTNAME);
+ getProductName());
newtWinMessage(_("Error"), _("OK"), buf);
break;
} else {