Skip to content
Snippets Groups Projects
Commit 6731dcbc authored by Martin Nilsson's avatar Martin Nilsson
Browse files

Can build bin_export without fakeroot.

Rev: bin/install.pike:1.59
parent b4d16722
No related branches found
No related tags found
No related merge requests found
......@@ -1311,7 +1311,7 @@ int main(int argc, array(string) argv)
}
argv=Getopt.get_args(argv);
foreach(argv[1..], string foo)
if(sscanf(foo,"%s=%s",string var, string value)==2)
vars[var]=value;
......@@ -1319,7 +1319,7 @@ int main(int argc, array(string) argv)
/* Some magic for the fakeroot stuff */
string tmp=vars->fakeroot;
m_delete(vars,"fakeroot");
if(tmp!="")
if(tmp && tmp!="")
{
if(tmp[-1]=='/' || tmp[-1]=='\\')
tmp=tmp[..sizeof(tmp)-2];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment