mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-26 05:57:17 +00:00
Formerly variable.c.~24~
This commit is contained in:
parent
1bafe5ed81
commit
d2654362c5
1 changed files with 2 additions and 4 deletions
|
@ -446,7 +446,6 @@ target_environment (file)
|
|||
register struct variable *v;
|
||||
for (v = set->table[i]; v != 0; v = v->next)
|
||||
{
|
||||
extern char *getenv ();
|
||||
unsigned int j = i % buckets;
|
||||
register struct variable_bucket *ov;
|
||||
register char *p = v->name;
|
||||
|
@ -466,8 +465,7 @@ target_environment (file)
|
|||
|
||||
if (! export_all_variables
|
||||
&& v->origin != o_command
|
||||
&& v->origin != o_env && v->origin != o_env_override
|
||||
&& !(v->origin == o_file && getenv (p) != 0))
|
||||
&& v->origin != o_env && v->origin != o_env_override)
|
||||
continue;
|
||||
|
||||
if (*p != '_' && (*p < 'A' || *p > 'Z')
|
||||
|
|
Loading…
Reference in a new issue