#!/bin/bash

  scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

  # Change to root compss directory
  cd $scriptDir/../compss

  # Add java headers
  find . -name "*.java" -exec $scriptDir/replace_header.sh {} java_c \; 

  # Add c headers
  find . -name "*.c" -exec $scriptDir/replace_header.sh {} java_c \;
  find . -name "*.cc" -exec $scriptDir/replace_header.sh {} java_c \;
  find . -name "*.h" -exec $scriptDir/replace_header.sh {} java_c \;

  # Add python headers
  find . -name "*.py" -exec $scriptDir/replace_header.sh {} python \;

#!/bin/bash

  scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

  # Change to root compss directory
  cd $scriptDir/../compss

  # Add java headers
  find . -name "*.java" -exec $scriptDir/replace_header.sh {} java_c \; 

  # Add c headers
  find . -name "*.c" -exec $scriptDir/replace_header.sh {} java_c \;
  find . -name "*.cc" -exec $scriptDir/replace_header.sh {} java_c \;
  find . -name "*.h" -exec $scriptDir/replace_header.sh {} java_c \;
  find . -name "Makefile*" -exec $scriptDir/replace_header.sh {} python \;

  # Add python headers
  find . -name "*.py" -exec $scriptDir/replace_header.sh {} python \;

Add header to binding-c binding-commons Makefiles
Add header to binding-c binding-commons Makefiles

git-svn-id: 6cb0c57df7a4a7d32342646683f5f1b5f4d88845@2215 9ab3861e-6c05-4e1b-b5ef-99af60850597
