After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779408 - run-uncrustify can be only run from the data directory
run-uncrustify can be only run from the data directory
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
master
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-01 09:57 UTC by Jan Tojnar
Modified: 2017-03-03 16:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
general: Allow running uncrustify from elsewhere (1.53 KB, patch)
2017-03-01 09:58 UTC, Jan Tojnar
committed Details | Review

Description Jan Tojnar 2017-03-01 09:57:27 UTC
The run-uncrustify.sh script uses relative paths.
Comment 1 Jan Tojnar 2017-03-01 09:58:31 UTC
Created attachment 346959 [details] [review]
general: Allow running uncrustify from elsewhere

run-uncrustify.sh script uses cwd relative file names, which fails
if it is ran from the repository root or other directory.

This commit fixes the paths relative to the script.
Comment 2 Carlos Soriano 2017-03-01 10:20:42 UTC
Review of attachment 346959 [details] [review]:

LGTM thanks!
Comment 3 Carlos Soriano 2017-03-03 16:07:06 UTC
Attachment 346959 [details] pushed as a67d17b - general: Allow running uncrustify from elsewhere