source: trunk/technical/common/build/clean_dirs.sh@ 613

Last change on this file since 613 was 610, checked in by pstorz, on Sep 17, 2002 at 11:50:26 AM

neu

File size: 355 bytes
Line 
1#!/bin/bash
2# loescht alle Unterverzeichnisse, in die unpack_srpm.sh die pakete
3# entpackt hat
4# $Id: clean_dirs.sh,v 1.1 2002/09/17 09:50:26 pstorz Exp $
5
6if [ -z "$1" ]; then
7 echo "usage: $0 directory"
8 exit 1
9fi
10
11DIR=$1;
12echo dir is $DIR;
13cd $DIR;
14pwd;
15for i in `cd $DIR; find * -type d -maxdepth 1 |grep -v CVS`; do rm -rvf $i;done
16
Note: See TracBrowser for help on using the repository browser.