494159d03a2b6e925a9c040922ca090513700ca3
[feisty_meow.git] / scripts / buildor / buildor_make_code_writable.sh
1 #!/bin/bash
2
3 source $FEISTY_MEOW_SCRIPTS/buildor/seek_all_source.sh
4
5 function strip_file {
6   file=$1
7   perl $FEISTY_MEOW_SCRIPTS/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 u+w "$line_found"
17 done <$SOURCES_FOUND_LIST
18
19 rm $SOURCES_FOUND_LIST  # clean up.
20