first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / buildor / buildor_writable_code.sh
1 #!/bin/bash
2
3 source $REPOSITORY_DIR/bin/seek_all_source.sh
4
5 function strip_file {
6   file=$1
7   perl $SHELLDIR/strip_cr.pl $file
8 }
9
10 #echo tempfile is $SOURCES_FOUND_LIST
11
12 # this block has io redirected from the file to std in.
13 while true; do
14   read line_found 
15   if [ $? != 0 ]; then break; fi
16   chmod 644 "$line_found"
17 done <$SOURCES_FOUND_LIST
18
19 rm $SOURCES_FOUND_LIST  # clean up.
20