]> git.ipfire.org Git - pakfire.git/commitdiff
QA: Remove obsoleted python hardlink tool.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2012 23:02:06 +0000 (01:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 2 Oct 2012 23:02:06 +0000 (01:02 +0200)
tools/quality-agent.d/090-python-hardlinks [deleted file]

diff --git a/tools/quality-agent.d/090-python-hardlinks b/tools/quality-agent.d/090-python-hardlinks
deleted file mode 100755 (executable)
index e2abf76..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-. $(dirname ${0})/qa-include
-
-DESC="Python byte-code files could be hardlinked if the optimized one is equal"
-DESC="${DESC} to the other one."
-
-function check() {
-       for py in $(find ${BUILDROOT} -type f -name "*.py"); do
-               if [ -e "${py}c" ] && [ -e "${py}o" ]; then
-                       if cmp -s "${py}c" "${py}o"; then
-                               log DEBUG "  ${py}c -> ${py}o"
-                               ln -f "${py}c" "${py}o"
-                       fi
-               fi
-       done
-}
-
-run
-