Project

General

Profile

Actions

Bug #2047

closed

Cannot use make as-is

Added by Nicolas PERRON over 12 years ago. Updated over 12 years ago.

Status:
Released
Priority:
2
Assignee:
Nicolas PERRON
Category:
Documentation
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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 2

It seems that the GIT_BRANCH_RUDDER is not correctly defined.
./rudder-agent/SOURCES/Makefile:GIT_BRANCH_RUDDER = <put branch or tag name here>

Actions

Also available in: Atom PDF