Skip to content

Commit

Permalink
staging: usbip: userspace: update cleanup.sh
Browse files Browse the repository at this point in the history
Modify $FILES to account for the new directory layout. Also, sort the
list of files within the variable to make it human-readable.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
matt mooney authored and Greg Kroah-Hartman committed Jul 6, 2011
1 parent 20a45d6 commit 9a20542
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions drivers/staging/usbip/userspace/cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/sh -x

#!/bin/sh

if [ -r Makefile ]; then
make distclean
fi

FILES="configure cscope.out Makefile.in depcomp compile config.guess config.sub config.h.in~ config.log config.status ltmain.sh libtool config.h.in autom4te.cache missing aclocal.m4 install-sh cmd/Makefile.in lib/Makefile.in Makefile lib/Makefile cmd/Makefile"
FILES="aclocal.m4 autom4te.cache compile config.guess config.h.in config.log \
config.status config.sub configure cscope.out depcomp install-sh \
libsrc/Makefile libsrc/Makefile.in libtool ltmain.sh Makefile \
Makefile.in missing src/Makefile src/Makefile.in"

rm -Rf $FILES
rm -vRf $FILES

0 comments on commit 9a20542

Please sign in to comment.