Project

General

Profile

Actions

Bug #5165

closed

User story #2114: Integrate ncf-builder in Rudder

User story #5093: Package ncf-api-virtualenv

Bug #5164: Fix ncf-api-virtualenv

The virtualenv cleaning statement in ncf-api-virtualenv debian packages matches too much things

Added by Matthieu CERDA almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Currently, it looks like this:

    cd SOURCES && for i in easy_install python pip; do rm -f ncf-api-virtualenv/bin/${i}*; done

It will not work, as ${i} in a Makefile would expand to nothing, and will actually completely tidy ncf-api-virtualenv/bin/ 3 times in a row :)

The right statement is:

    cd SOURCES && for i in easy_install python pip; do rm -f ncf-api-virtualenv/bin/$${i}*; done

Actions

Also available in: Atom PDF