commit | b9ab27c65aeff96dff080262319d7048ae511d99 | [log] [tgz] |
---|---|---|
author | stroese <stroese> | Fri Jul 11 08:00:33 2003 +0000 |
committer | stroese <stroese> | Fri Jul 11 08:00:33 2003 +0000 |
tree | 45e77842c2120bfad3640eb380a88384caa9fb13 | |
parent | 691412860d6030d4f71c239433367c45619a46b5 [diff] [blame] |
- Fix bug in CONFIG_VERSION_VARIABLE.
diff --git a/common/main.c b/common/main.c index f7830a1..5ddecca 100644 --- a/common/main.c +++ b/common/main.c
@@ -284,10 +284,8 @@ #ifdef CONFIG_VERSION_VARIABLE { extern char version_string[]; - char *str = getenv("ver"); - if (!str) - setenv ("ver", version_string); /* set version variable */ + setenv ("ver", version_string); /* set version variable */ } #endif /* CONFIG_VERSION_VARIABLE */