summaryrefslogtreecommitdiffstats
path: root/media/kiss_fft/update.sh
blob: 5829b82a4548f397832776b13fa1644fa22fd203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Usage: sh update.sh <upstream_src_directory>
set -e

if [ ! -d "$1" ]; then
  echo "Usage: ./update.sh /path/to/kiss_fft" > 2
  exit 1
fi

FILES="docs/CHANGELOG \
       LICENSE \
       README \
       docs/README.simd \
       docs/BACKGROUND \
       _kiss_fft_guts.h \
       kiss_fft.c \
       kiss_fft.h \
       tools/kiss_fftr.c \
       tools/kiss_fftr.h"

for file in $FILES; do
  cp "$1/$file" .
done

echo "Remember to update README_MOZILLA with the version details."