minix/etc/mtree.sh
Ben Gras 9748a6536e Fixed an mtree bugs that caused permissions and ownerships for / to
be wrong.

Made the install process quieter when install already done.

rc and daily now is more readonly-/usr aware (for cd).
2005-05-03 15:41:02 +00:00

4 lines
195 B
Bash
Executable file

#!/bin/sh
cat $1 | while read line
do echo $line | awk '{ print "mkdir -p "$4" || exit 1; chmod "$1" "$4" || exit 1; chown "$2" "$4" || exit 1; chgrp "$3" "$4" || exit 1" }' | sh || exit 1
done