commit:     17b064f0b9e4e6a2e86a17ec7155e9616da2965c
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 21:01:39 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri May 27 21:01:39 2016 +0000
URL:        https://gitweb.gentoo.org/proj/releng.git/commit/?id=17b064f0

update*tree: fix variable.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 scripts/update_auto_tree     | 2 +-
 scripts/update_official_tree | 2 +-
 scripts/update_snapshot_tree | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scripts/update_auto_tree b/scripts/update_auto_tree
index a68d561..029ef70 100755
--- a/scripts/update_auto_tree
+++ b/scripts/update_auto_tree
@@ -2,7 +2,7 @@
 PORTDIR="/release/trees/portage-auto/"
 TMPREPO=$(mktemp)
 trap "rm -f $TMPREPO" EXIT
-cat >$f <<EOF
+cat >$TMPREPO <<EOF
 [DEFAULT]
 main-repo = gentoo
 

diff --git a/scripts/update_official_tree b/scripts/update_official_tree
index 3424cb6..55ecea0 100755
--- a/scripts/update_official_tree
+++ b/scripts/update_official_tree
@@ -2,7 +2,7 @@
 PORTDIR="/release/trees/portage-official/"
 TMPREPO=$(mktemp)
 trap "rm -f $TMPREPO" EXIT
-cat >$f <<EOF
+cat >$TMPREPO <<EOF
 [DEFAULT]
 main-repo = gentoo
 

diff --git a/scripts/update_snapshot_tree b/scripts/update_snapshot_tree
index 3a5284a..76cd00e 100755
--- a/scripts/update_snapshot_tree
+++ b/scripts/update_snapshot_tree
@@ -2,7 +2,7 @@
 PORTDIR="/release/trees/portage-snapshot/"
 TMPREPO=$(mktemp)
 trap "rm -f $TMPREPO" EXIT
-cat >$f <<EOF
+cat >$TMPREPO <<EOF
 [DEFAULT]
 main-repo = gentoo
 

Reply via email to