librazor/rpm.c
changeset 479 4204db81cdbc
parent 475 008c75a5e08d
     1.1 --- a/librazor/rpm.c	Mon Jul 04 10:48:18 2016 +0100
     1.2 +++ b/librazor/rpm.c	Thu Jul 07 15:17:29 2016 +0100
     1.3 @@ -1087,7 +1087,7 @@
     1.4  }
     1.5  
     1.6  int
     1.7 -razor_run_script(const char *root, enum razor_property_flags script,
     1.8 +razor_run_script(const char *root_uri, enum razor_property_flags script,
     1.9  		 const char *program, const char *body, int arg1,
    1.10  		 struct razor_error **error)
    1.11  {
    1.12 @@ -1120,10 +1120,11 @@
    1.13  			script_tag = 0;
    1.14  			break;
    1.15  		}
    1.16 -		retval = run_script_lua(root, script_tag, body, arg1, error);
    1.17 +		retval = run_script_lua(root_uri, script_tag, body, arg1, error);
    1.18  	}
    1.19  	else
    1.20 -		retval = run_script_external(root, program, body, arg1, error);
    1.21 +		retval = run_script_external(root_uri, program, body, arg1,
    1.22 +					     error);
    1.23  
    1.24  	return retval;
    1.25  }