Because cp -s exists and works.

  git clone https://github.com/landley/toybox
  cp -sr $PWD/toybox walrus
  cd walrus
  make distclean defconfig toybox

In theory if you're using toybox cp you can use a relative path, which was part
of why I did relative_path but darn it it's STILL broken:

  cd ~/toybox
  mkdir bang
  cd bang
  cp -rs ../www/. .

Sea of broken links with extra .. at the start. Grrr.

Sigh, on the todo heap... (It works with absolute paths, which are what all my
scripts still use because the host cp only supports absolute source paths with
-s...)

Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to