head 1.2; access; symbols SHTOOL_1_0_0:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.2 date 99.04.29.11.21.06; author rse; state dead; branches; next 1.1; 1.1 date 99.04.29.11.19.34; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.04.29.11.19.34; author rse; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @#!/bin/sh ## ## fixperm -- Fix file permission inside a source tree ## Copyright (c) 1996-1999 Ralf S. Engelschall ## Originally written for the Website META Language ## Usage: fixperm [] ## for p in $*; do for file in `find $p -depth -print`; do if [ -f $file ]; then if [ -x $file ]; then echo " $file (FILE/EXEC)" chmod 775 $file else echo " $file (FILE/REGULAR)" chmod 664 $file fi continue fi if [ -d $file ]; then echo " $file (DIR)" chmod 775 $file continue fi echo " $file (UNKNOWN)" done done @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import of shtool 1.0.0 @ text @@