зеркало из https://github.com/mozilla/pjs.git
Changed nsinstall to fail if the file to link against does not exist. Objdir build breakage should become more apparent when it happens. Thanks to Greg Noel <GregNoel@san.rr.com> for the patch.
This commit is contained in:
Родитель
db97e9bbfb
Коммит
360050cd21
|
@ -315,6 +315,9 @@ main(int argc, char **argv)
|
|||
if ((owner || group) && chown(toname, uid, gid) < 0)
|
||||
fail("cannot change owner of %s", toname);
|
||||
} else if (dolink) {
|
||||
if (access(name, R_OK) != 0) {
|
||||
fail("cannot access %s", name);
|
||||
}
|
||||
if (*name == '/') {
|
||||
/* source is absolute pathname, link to it directly */
|
||||
linkname = 0;
|
||||
|
|
|
@ -60,6 +60,8 @@ EXPORT_RESOURCE_LOCALE = \
|
|||
locale/en-US/bookmark.properties \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE := $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_LOCALE))
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install::
|
||||
|
|
|
@ -46,7 +46,7 @@ CHROME_CONTENT = \
|
|||
|
||||
CHROME_SKIN = directory.css
|
||||
|
||||
EXPORT_RESOURCE_LOCALE = locale/en-US/directory.dtd
|
||||
EXPORT_RESOURCE_LOCALE = ${srcdir}/locale/en-US/directory.dtd
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
-L$(DIST)/bin \
|
||||
|
|
|
@ -36,7 +36,7 @@ CHROME_CONTENT = \
|
|||
finddialog.js \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE = locale/en-US/finddialog.dtd
|
||||
EXPORT_RESOURCE_LOCALE = ${srcdir}/locale/en-US/finddialog.dtd
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ CHROME_CONTENT = \
|
|||
history-test.js \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE = locale/en-US/history.dtd
|
||||
EXPORT_RESOURCE_LOCALE = ${srcdir}/locale/en-US/history.dtd
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ CHROME_CONTENT = \
|
|||
|
||||
CHROME_SKIN = regviewer.css
|
||||
|
||||
EXPORT_RESOURCE_LOCALE = locale/en-US/regviewer.dtd
|
||||
EXPORT_RESOURCE_LOCALE = $(srcdir)/locale/en-US/regviewer.dtd
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
-L$(DIST)/bin \
|
||||
|
|
|
@ -41,7 +41,7 @@ CHROME_SKIN = \
|
|||
sitemap.gif \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE = locale/en-US/related-panel.dtd
|
||||
EXPORT_RESOURCE_LOCALE = $(srcdir)/locale/en-US/related-panel.dtd
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -64,6 +64,8 @@ EXPORT_RESOURCE_LOCALE = \
|
|||
locale/en-US/sidebarOverlay.dtd \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE := $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_LOCALE))
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install::
|
||||
|
|
|
@ -41,6 +41,8 @@ EXPORT_RESOURCE_LOCALE = \
|
|||
locale/en-US/unknownContent.properties \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE := $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_LOCALE))
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install::
|
||||
|
|
|
@ -41,6 +41,8 @@ EXPORT_RESOURCE_LOCALE = \
|
|||
locale/en-US/downloadProgress.properties \
|
||||
$(NULL)
|
||||
|
||||
EXPORT_RESOURCE_LOCALE := $(addprefix $(srcdir)/, $(EXPORT_RESOURCE_LOCALE))
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install::
|
||||
|
|
Загрузка…
Ссылка в новой задаче