summaryrefslogtreecommitdiffhomepage
path: root/include/LibNectar/mkhdrs.sh
blob: b6b9f758cb05aa85ac69e222f38e632ca0bcdc5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

outputDir=libcnec/

mkdir -p $outputDir

for f in *.h; do

#This line splits the file name on the delimiter "."
baseName=`echo $f | cut -d "." -f 1`

cp $f $outputDir$baseName

done