(cleanfiles): Concatenate regular filenames that match .*.
+2004-01-27 Ben Elliston <bje@wasabisystems.com>
+
+ * Clean.tcl: Run tclsh via /usr/bin/env for portability.
+ (cleanfiles): Concatenate regular filenames that match .*.
+
2004-01-12 Ben Elliston <bje@wasabisystems.com>
* baseboards/frv-sim.exp: Remove reference to devo/sim.
-#!/usr/bin/tclsh
+#!/usr/bin/env tclsh
# Clean.tcl
# This script is used to remove all unwanted files from a
# get a list of all the files in this directory
set allfiles [glob -nocomplain "$directory/*"]
+ concat allfiles [glob -nocomplain -type f "$directory/.*"]
regsub -all "$directory/" $allfiles "" allfiles
# open the .clean file, which has the list of stuff we