Ver código fonte

Move the 'test' and '[' executables to /bin for
consistency with Bourne shells without these functions
built in (e.g. dash).


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10105 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 12 anos atrás
pai
commit
7725e5c221
1 arquivos alterados com 4 adições e 3 exclusões
  1. 4 3
      chapter06/coreutils.xml

+ 4 - 3
chapter06/coreutils.xml

@@ -120,7 +120,7 @@
 
 <screen><userinput remap="install">mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin
 mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin
-mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin
+mv -v /usr/bin/{rmdir,stty,sync,true,uname,test/[} /bin
 mv -v /usr/bin/chroot /usr/sbin
 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
 sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
@@ -145,13 +145,14 @@ sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8</userinput></screen>
       <segtitle>Installed directory</segtitle>
 
       <seglistitem>
-        <seg>base64, basename, cat, chcon, chgrp, chmod, chown, chroot, cksum,
+        <seg>[, base64, basename, cat, chcon, chgrp, chmod, chown, chroot, cksum,
         comm, cp, csplit, cut, date, dd, df, dir, dircolors, dirname, du, echo,
         env, expand, expr, factor, false, fmt, fold, groups, head, hostid,
         id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod,
         mktemp, mv, nice, nl, nohup, nproc, od, paste, pathchk, pinky, pr,
         printenv, printf, ptx, pwd, readlink, realpath, rm, rmdir, runcon, seq,
-        sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep,        sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test,
+        sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep,        
+        sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test,
         timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq,
         unlink, users, vdir, wc, who, whoami, and yes</seg>
         <seg>libstdbuf.so</seg>