Migration (without history) of the current stable line to subversion.
[portage.git] / bin / newlib.a
1 #!/bin/bash
2 # Copyright 1999-2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-src/portage/bin/newlib.a,v 1.7 2004/10/04 13:56:50 vapier Exp $
5
6 if [ -z "${T}" ] || [ -z "${2}" ] ; then
7         echo "Error: Nothing defined to do."
8         exit 1
9 fi
10
11 rm -rf "${T}/${2}"
12 cp "${1}" "${T}/${2}"
13 dolib.a "${T}/${2}"