Project

General

Profile

Actions

Bug #10003

closed

Not having set %{real_name} does operate on /bin

Added by Janos Mattyasovszky over 7 years ago. Updated about 7 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

On branch: branches/rudder/4.1 (4.1.0.beta1):

./rudder-server-relay/SPECS/rudder-server-relay.spec:

147 # Clean up unwanted binaries
148 if [ "z%{real_name}" != "" ]; then
149   for i in easy_install python pip; do
150       rm -f %{real_name}/bin/${i}*
151   done
152 else
153   echo "WARNING: Skipping Virtualenv cleanup, as it" 
154   echo "WARNING: would operate on /bin ..." 
155   echo "WARNING: Please make sure the real_name macro" 
156   echo "WARNING: is defined" 
157 fi

=> You have added a "z" to the left side of the equation, but not to the right side, so it will always be unequal, so the implemented safety measures are useless...


Subtasks 1 (0 open1 closed)

Bug #10008: Not having set %{real_name} does operate on /binReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF