Bug #2047
closedCannot use make as-is
Description
Jean Remond wrote:
Hi,
the "make" command is not functional as-is :
cd /tmp/tmp.xBmP131DPC && git clone --depth 1 https://github.com/Normation/rudder-policy-templates.git
Cloning into rudder-policy-templates...
remote: Counting objects: 4394, done.
remote: Compressing objects: 100% (2783/2783), done.
remote: Total 4394 (delta 1252), reused 4331 (delta 1197)
Receiving objects: 100% (4394/4394), 34.89 MiB | 1.71 MiB/s, done.
Resolving deltas: 100% (1252/1252), done.
cd /tmp/tmp.xBmP131DPC/rudder-policy-templates && git checkout <put branch or tag name here> || rm -rf /tmp/tmp.xBmP131DPC/rudder-policy-templates
/bin/sh: Syntax error: "||" unexpected
make: *** [initial-promises] Erreur 2It seems that the GIT_BRANCH_RUDDER is not correctly defined.
./rudder-agent/SOURCES/Makefile:GIT_BRANCH_RUDDER = <put branch or tag name here>
Updated by Nicolas PERRON about 13 years ago
Hi Jean,
as you noticed, your problem is due to the GIT_BRANCH_RUDDER. It is not configured by default and you have to replace "<put branch or tag name here>".
We have 2 branches actually:
branches/rudder/2.3 which contains stables version of Rudder
origin/master which contains alpha version of Rudder
This is our fault, we have omitted to describe it in the README.asciidoc of rudder-packages repository.
Updated by Nicolas PERRON about 13 years ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:773a33f8da3f1f1d0174578a812f85d3299e5760.
Updated by Jonathan CLARKE about 13 years ago
- Status changed from Pending technical review to Released