Actions
Bug #10003
closedNot having set %{real_name} does operate on /bin
Pull Request:
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...
Actions