Patch to generic-build-script for listing package files

Nicholas Wourms nwourms@netscape.net
Sun Oct 26 20:11:00 GMT 2003


huntharo@msu.edu wrote:

>  }
> +list() {
> +  (cd ${instdir} && \
> +  find . -name "*" ! -type d | sed 's/\.\/\(.*\)/\1/' )
> +}
>  pkg() {
>    (cd ${instdir} && \
>    tar cvjf ${bin_pkg} * )
> @@ -173,6 +177,7 @@
>    check)   check ; STATUS=$? ;;
>    clean)   clean ; STATUS=$? ;;
>    install) install ; STATUS=$? ;;
> +  list)        list ; STATUS=$? ;;
>    strip)   strip ; STATUS=$? ;;
>    package) pkg ; STATUS=$? ;;
>    pkg) pkg ; STATUS=$? ;;

What about "find . -type f -o -type l"?  This is what I use along with a 
  similar sed script.

Cheers,
Nicholas



More information about the Cygwin-apps mailing list