update.sh 484 B

1234567891011121314151617181920212223242526
  1. # Usage: sh update.sh <upstream_src_directory>
  2. set -e
  3. if [ ! -d "$1" ]; then
  4. echo "Usage: ./update.sh /path/to/kiss_fft" > 2
  5. exit 1
  6. fi
  7. FILES="docs/CHANGELOG \
  8. LICENSE \
  9. README \
  10. docs/README.simd \
  11. docs/BACKGROUND \
  12. _kiss_fft_guts.h \
  13. kiss_fft.c \
  14. kiss_fft.h \
  15. tools/kiss_fftr.c \
  16. tools/kiss_fftr.h"
  17. for file in $FILES; do
  18. cp "$1/$file" .
  19. done
  20. echo "Remember to update README_MOZILLA with the version details."