]> git.pld-linux.org Git - packages/rpm.git/blobdiff - find-java-prov.sh
- adjusted for updated pl.po patch
[packages/rpm.git] / find-java-prov.sh
index cbaf9cf38a364b3da9fd22a095b0ec244a9fc563..b13a73bc6776729fa309a4e4d6d1c7fa8381149f 100755 (executable)
@@ -7,56 +7,4 @@
 
 export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
 
-IGNORE_DEPS="@"
-BUILDROOT="/"
-
-# Loop over all args
-while :; do
-# Break out if there are no more args
-       case $# in
-       0)
-               break
-               ;;
-       esac
-
-# Get the first arg, and shuffle
-       option=$1
-       shift
-
-# Make all options have two hyphens
-       orig_option=$option     # Save original for error messages
-       case $option in
-       --*) ;;
-       -*) option=-$option ;;
-       esac
-
-       case $option in
-       --buildroot)
-               BUILDROOT=$1
-               shift
-               ;;
-       --ignore_deps)
-               IGNORE_DEPS=$1
-               shift
-               ;;
-       --help)
-               echo $usage
-               exit 0
-               ;;
-       *)
-               echo "$0: Unrecognized option: \"$orig_option\"; use --help for usage." >&2
-               exit 1
-               ;;
-       esac
-done
-
-for file in $(cat -); do
-       case $file in
-       *.jar)
-               unzip -p $file | javadeps --provides --rpmformat --keywords --starprov -
-       ;;
-       *.class)
-               javadeps --provides --rpmformat --keywords --starprov $file
-       ;;
-       esac
-done | sort -u | egrep -v \'$IGNORE_DEPS\'
+cat > /dev/null
This page took 0.684289 seconds and 4 git commands to generate.