Skip to content

Commit

Permalink
Ignore Install when generating sym links.
Browse files Browse the repository at this point in the history
fetch with —all
  • Loading branch information
Dave Parfitt committed Feb 22, 2014
1 parent 310626c commit a50d67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erln8.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ void git_fetch(gchar* repo) {
}
gchar* fetchcmd = g_strconcat("cd ",
source_path,
" && git fetch",
" && git fetch --all",
NULL);
int result = system(fetchcmd);
if(result != 0) {
Expand Down Expand Up @@ -901,7 +901,7 @@ void setup_binaries(gchar* otpid) {
if(!has_erlang) {
g_error("%s doesn't appear to be linked. Did something go wrong with the build?\n", otpid);
}
gchar* genbins = g_strconcat("cd ", path, " && for i in `find -L . -perm -111 -type f | grep -v \"\\.so\" | grep -v \"\\.o\" | grep -v \"lib/erlang/bin\"`; do `ln -s -f $i $(basename $i)` ; done", NULL);
gchar* genbins = g_strconcat("cd ", path, " && for i in `find -L . -perm -111 -type f | grep -v \"\\.so\" | grep -v \"\\.o\" | grep -v \"lib/erlang/bin\" | grep -v Install`; do `ln -s -f $i $(basename $i)` ; done", NULL);
g_debug("%s\n", genbins);
if(!opt_dryrun) {
int result = system(genbins);
Expand Down

0 comments on commit a50d67e

Please sign in to comment.