public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xine-lib] epel9-next: xine-lib-cleanup-sources.sh: Fix removing unwanted input plugin files.
@ 2026-07-20 20:01 Kevin Kofler
  0 siblings, 0 replies; only message in thread
From: Kevin Kofler @ 2026-07-20 20:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/xine-lib
            Branch : epel9-next
            Commit : 23f22cd378b4b2a44ea7e0c766d186995965cb1d
            Author : Kevin Kofler <Kevin@tigcc.ticalc.org>
            Date   : 2011-11-20T01:55:58+01:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/xine-lib/c/23f22cd378b4b2a44ea7e0c766d186995965cb1d?branch=epel9-next

            Log:
            xine-lib-cleanup-sources.sh: Fix removing unwanted input plugin files.

EXTRA_DIST is not an actual use of the file.

---
diff --git a/xine-lib-cleanup-sources.sh b/xine-lib-cleanup-sources.sh
index 1cabc9c..1ccd7cc 100755
--- a/xine-lib-cleanup-sources.sh
+++ b/xine-lib-cleanup-sources.sh
@@ -48,7 +48,7 @@ for p in dvd vcd mms; do
   echo "removing $p input plugin..."
   # Remove sources
   for sourcefile in `awk '/^xineplug_inp_'$p'_la_SOURCES/ { $1=""; $2=""; print $0}' src/input/Makefile.am`; do
-      if [ "`grep -c $sourcefile src/input/Makefile.am`" -le 1 ]; then # if this file is only used for this plugin
+      if [ "`grep -v '^EXTRA_DIST = ' src/input/Makefile.am | grep -c $sourcefile`" -le 1 ]; then # if this file is only used for this plugin
           rm -f src/input/$sourcefile
       fi
   done

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:01 [rpms/xine-lib] epel9-next: xine-lib-cleanup-sources.sh: Fix removing unwanted input plugin files Kevin Kofler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox