Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit e3172d10 authored by deuce's avatar deuce

Not sets env variables to pass params to the makefile.

parent 88627821
......@@ -384,7 +384,7 @@ void install_sbbs(struct dist_t *release,struct server_ent_t *server) {
char cmd[MAX_PATH+1];
char str[1024];
char sbbsdir[9+MAX_PATH];
char jslib[7+MAX_PATH];
char cvstag[7+MAX_PATH];
if(params.release)
putenv("RELEASE=1");
......@@ -397,7 +397,7 @@ void install_sbbs(struct dist_t *release,struct server_ent_t *server) {
sprintf(sbbsdir,"SBBSDIR=%s",params.install_path);
putenv(sbbsdir);
if(params.use_bcc)
if(params.usebcc)
putenv("bcc=1");
if(mkdir(params.install_path,0777)&&errno!=EEXIST) {
......@@ -413,7 +413,9 @@ void install_sbbs(struct dist_t *release,struct server_ent_t *server) {
uifc.bail();
switch (release->type) {
case CVS_SERVER:
sprintf(cmd,"cvs -d %s co -r %s install",server->addr,release->tag,params.install_path);
sprintf(cvstag,"CVSTAG=%s",release->tag);
putenv(cvstag);
sprintf(cmd,"cvs -d %s co -r %s install",server->addr,release->tag);
if(system(cmd)) {
printf("Could not checkout install makefile.\n");
exit(EXIT_FAILURE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment