FIXUPHACK 672 B

12345678910111213141516171819202122
  1. # i don't recall why, but there may be reason why these should be in both
  2. # /usr/bin and /bin (some scripts unfortunately have the paths hardwired)...
  3. # ah, it might have been my 'unipup' experiment, that loaded /usr as a sfs
  4. # and needed to have these usable before /usr got loaded.
  5. rXARGSFILE="`find ./ -type f -name xargs | head -n 1`"
  6. rFINDFILE="`find ./ -type f -name find | head -n 1`"
  7. if [ "$rXARGSFILE" != "./bin/xargs" ];then
  8. rm ./bin/xargs 2>/dev/null
  9. mv ${rXARGSFILE} bin/xargs
  10. fi
  11. ln -snf ../../bin/xargs usr/bin/xargs
  12. if [ "$rFINDFILE" != "./bin/find" ];then
  13. rm ./bin/find 2>/dev/null
  14. mv ${rFINDFILE} bin/find
  15. fi
  16. ln -snf ../../bin/find usr/bin/find