Merge lp:~bcicen/conky-manager/conky-manager into lp:conky-manager

Proposed by bcicen
Status: Needs review
Proposed branch: lp:~bcicen/conky-manager/conky-manager
Merge into: lp:conky-manager
Diff against target: 11 lines (+1/-1)
1 file modified
src/Main.vala (+1/-1)
To merge this branch: bzr merge lp:~bcicen/conky-manager/conky-manager
Reviewer Review Type Date Requested Status
Tony George Pending
Review via email: mp+291676@code.launchpad.net

Description of the change

Allow for symlinked conkyrc files in standard search paths via dereference recursive(-R) option for grep.

To post a comment you must log in.

Unmerged revisions

137. By bcicen

Allow for symbolically linked conkyrc files in search paths

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/Main.vala'
--- src/Main.vala 2015-10-21 13:01:40 +0000
+++ src/Main.vala 2016-04-12 19:49:34 +0000
@@ -430,7 +430,7 @@
430 public void find_conkyrc_files_in_path(string path){430 public void find_conkyrc_files_in_path(string path){
431 string std_out = "";431 string std_out = "";
432 string std_err = "";432 string std_err = "";
433 string cmd = "grep -r \"^[[:blank:]]*TEXT[[:blank:]]*$\" \"%s\"".printf(path);433 string cmd = "grep -R \"^[[:blank:]]*TEXT[[:blank:]]*$\" \"%s\"".printf(path);
434 last_cmd = cmd;434 last_cmd = cmd;
435 int exit_code = execute_command_script_sync(cmd, out std_out, out std_err);435 int exit_code = execute_command_script_sync(cmd, out std_out, out std_err);
436436

Subscribers

People subscribed via source and target branches

to all changes: