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>