diff options
author | Thomas Kahle <tom111@gmx.de> | 2010-12-03 17:04:33 +0100 |
---|---|---|
committer | Thomas Kahle <tom111@gmx.de> | 2010-12-03 17:23:42 +0100 |
commit | ee7254414e5b9aab00b752c7b9569a8b79ce3ae4 (patch) | |
tree | cbd849c15fa4f53c9d53482b932bdbc1a98f7d7e /templates/revdep-snippet | |
parent | use script writer redone (diff) | |
download | tatt-ee7254414e5b9aab00b752c7b9569a8b79ce3ae4.tar.gz tatt-ee7254414e5b9aab00b752c7b9569a8b79ce3ae4.tar.bz2 tatt-ee7254414e5b9aab00b752c7b9569a8b79ce3ae4.zip |
revdep script logic redone
Diffstat (limited to 'templates/revdep-snippet')
-rw-r--r-- | templates/revdep-snippet | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/revdep-snippet b/templates/revdep-snippet index 7c46952..abcca3b 100644 --- a/templates/revdep-snippet +++ b/templates/revdep-snippet @@ -1,4 +1,4 @@ -if FEATURES="@@FEATURES@@" USE="@@USE@@" emerge -1v @@CPV@@; then -echo "FEATURES='@@FEATURES@@' USE='@@USE@@' emerge -1v @@CPV@@" succeeded >> @@REPORTFILE@@; -else echo "FEATURES='@@FEATURES@@' USE='@@USE@@' emerge -1v @@CPV@@" failed >> @@REPORTFILE@@; +if @@FEATURES@@ @@USE@@ emerge -1v @@CPV@@; then +echo "@@FEATURES@@ @@USE@@ emerge -1v @@CPV@@ succeeded" >> @@REPORTFILE@@; +else echo "@@FEATURES@@ @@USE@@ emerge -1v @@CPV@@ failed" >> @@REPORTFILE@@; fi; |