Date: Tue, 27 Dec 2005 00:07:37 GMT From: soc-andrew <soc-andrew@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 88746 for review Message-ID: <200512270007.jBR07bfS060708@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=88746 Change 88746 by soc-andrew@soc-andrew_serv on 2005/12/27 00:07:15 Rename posix to POSIX to reduce the diff to the BSDInstaller cvs Affected files ... .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/install/500_install_os.lua#6 edit .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/package.lua#5 edit .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/target_system.lua#9 edit .. //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/uinav.lua#4 edit Differences ... ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/install/500_install_os.lua#6 (text+ko) ==== @@ -90,7 +90,7 @@ "-C ${root}${base}/usr", replacements = { base = base, - uname = posix.uname("%r") + uname = POSIX.uname("%r") } } end ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/package.lua#5 (text+ko) ==== @@ -225,7 +225,7 @@ else local tmp_dir = App.conf.dir.root .. ts:get_base() .. "tmp" - local link = posix.readlink(tmp_dir) + local link = POSIX.readlink(tmp_dir) if link ~= nil then pkg_tmp = FileName.remove_leading_slash(link) elseif FileName.is_dir(tmp_dir) then @@ -446,7 +446,7 @@ local dir_name = App.expand("${root}${base}var/db/pkg", { base = ts:get_base() }) - local dir = posix.dir(dir_name) + local dir = POSIX.dir(dir_name) if dir then local i, filename for i, filename in ipairs(dir) do @@ -464,7 +464,7 @@ -- the given directory. -- method.enumerate_archives_in = function(self, dir_name) - local dir = posix.dir(dir_name) + local dir = POSIX.dir(dir_name) if dir then local i, filename for i, filename in ipairs(dir) do ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/target_system.lua#9 (text+ko) ==== @@ -350,7 +350,7 @@ -- local add_copy_command = function(src, dest) local filename = App.expand("${root}" .. src) - local link = posix.readlink(filename) + local link = POSIX.readlink(filename) if link ~= nil then cmds:add{ cmdline = "${root}${LN} -s ${link} ${root}${base}${dest}", @@ -422,7 +422,7 @@ dir = dir, dest = dest, dist_suffix = App.conf.dist_suffix, - uname = posix.uname("%r") + uname = POSIX.uname("%r") }, log_mode = CmdChain.LOG_QUIET -- don't spam log } ==== //depot/projects/soc2005/bsdinstaller/src/contrib/bsdinstaller/backend/lua/lib/uinav.lua#4 (text+ko) ==== @@ -285,7 +285,7 @@ from_dir = FileName.dirname(App.get_current_script()) end - filenames = posix.dir(from_dir) + filenames = POSIX.dir(from_dir) table.sort(filenames) for i, filename in ipairs(filenames) do
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512270007.jBR07bfS060708>