summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhypnotoad <yoda@etoyoc.com>2018-11-21 00:40:32 (GMT)
committerhypnotoad <yoda@etoyoc.com>2018-11-21 00:40:32 (GMT)
commitfcfb05f5d36322a8ecfdc033cdf8de9994f37e5b (patch)
tree1eb38dad3a314be7ae278539ede1c97b4ec5b549 /unix
parent1c46dc592909068bf224800ad35d5c795de16e8f (diff)
downloadtcl-fcfb05f5d36322a8ecfdc033cdf8de9994f37e5b.zip
tcl-fcfb05f5d36322a8ecfdc033cdf8de9994f37e5b.tar.gz
tcl-fcfb05f5d36322a8ecfdc033cdf8de9994f37e5b.tar.bz2
Further refinements for the fix for bug [4e812aadae68af384605a5e78845abe40206fbe9]
Moved the package manifest for the /library file system out of init.tcl file and into a new file "manifest.txt". If a VFS is populating tcl_library via a file copy it will rename that file to pkgIndex.tcl, which will allow all of the packages the core distributes in this way to be available via the standard package discovery mechanism (as tcl_library is already in the auto_path of an unmodified tcl interpreter. And if you've modified the tcl interpreter, you probably know better anyway. Probably...)
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 270cff7..6061298 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -681,7 +681,8 @@ ${TCL_ZIP_FILE}: ${ZIP_INSTALL_OBJS}
@rm -rf ${TCL_VFS_ROOT}
@mkdir -p ${TCL_VFS_PATH}
cp -a $(TOP_DIR)/library/* ${TCL_VFS_PATH}
- -find ${TCL_VFS_ROOT} -type d -empty -delete
+ cp -a ${TCL_VFS_PATH}/manifest.txt ${TCL_VFS_PATH}/pkgIndex.tcl
+ find ${TCL_VFS_ROOT} -type d -empty -delete
( cd ${TCL_VFS_ROOT} ; ${NATIVE_ZIP} ${ZIP_PROG_OPTIONS} ../${TCL_ZIP_FILE} ${ZIP_PROG_VFSSEARCH})
# The following target is configured by autoconf to generate either a shared