This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to generic-build-script for listing package files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]