From: Michael Tremer Date: Tue, 2 Oct 2012 23:02:06 +0000 (+0200) Subject: QA: Remove obsoleted python hardlink tool. X-Git-Tag: 0.9.24~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99c47627b24f5a16897aa85ed83eb3919ea6ea85;p=pakfire.git QA: Remove obsoleted python hardlink tool. --- diff --git a/tools/quality-agent.d/090-python-hardlinks b/tools/quality-agent.d/090-python-hardlinks deleted file mode 100755 index e2abf76a9..000000000 --- a/tools/quality-agent.d/090-python-hardlinks +++ /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 -