Project

General

Profile

Actions

Bug #22404

closed

Bug #20834: File from shared folder method does not support special characters in the source path

Rhel7 builds fails due to a file with spaces in its name

Added by Vincent MEMBRÉ over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

The build of rudder-api-client package fails because of this command, which cause an error on file rudder-sources-7.3.0~beta2~git202302270322/rudder/relay/sources/relayd/tests/api_shared_folder/c745a140-40bc-4b86-b6dc-084488fc906b/37817c4d-fbf7-4850-a985-50021f4e8f41/file with space

find . -type f | xargs sed -i '1,1s|#!/usr/bin/python3|#!/usr/bin/python2|'
sed: can't read with: No such file or directory
sed: can't read space: No such file or directory

running the command on buildroot like rudder-agent should be ok (rudder-relay should fail too, running on buildroot should be ok too)

Actions

Also available in: Atom PDF