From 99c47627b24f5a16897aa85ed83eb3919ea6ea85 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 Oct 2012 01:02:06 +0200 Subject: [PATCH] QA: Remove obsoleted python hardlink tool. --- tools/quality-agent.d/090-python-hardlinks | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 tools/quality-agent.d/090-python-hardlinks 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 - -- 2.39.5