#!/bin/bash PORTDIR="/release/trees/portage-official/" TMPREPO=$(mktemp) trap "rm -f $TMPREPO" EXIT cat >$TMPREPO <