[EMAIL PROTECTED] 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



Reply via email to