#!/bin/sh cat <&2 exit 1 fi if ! [ -x "$s" ]; then echo "\`$s' is not executable" >&2 exit 1 fi echo "file $s path=\$(cibs-inst-root)/scripts/`basename $s` mode=0555" done echo echo '# transformations:' for t in trans/*; do if ! [ -f "$t" ]; then echo "Garbage in trans: \`$t'" >&2 exit 1 fi echo "file $t path=\$(cibs-inst-root)/trans/`basename $t`" done