-
-
Notifications
You must be signed in to change notification settings - Fork 412
Expand file tree
/
Copy pathcheck-archive.sh
More file actions
executable file
·32 lines (23 loc) · 743 Bytes
/
check-archive.sh
File metadata and controls
executable file
·32 lines (23 loc) · 743 Bytes
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
26
27
28
29
30
31
32
#!/bin/sh
set -ex
cd $(dirname $0)
./autogen.sh
mkdir -p build-archive
cd build-archive
(cd .. && git archive --prefix=git/ HEAD ) > archive.tar
../configure
make dist
make distclean
rm -rf git
tar -xf archive.tar
mkdir unpack
tar -C unpack -zxf fdk-aac-*.tar.gz
rm -rf autotools
mv unpack/fdk-aac-* autotools
rmdir unpack
cd git
find . | sed 's/^..//' | sort | grep -v '^\.git' | grep -v '\.gitkeep' | grep -v '^m4' | grep -v '^check-.*\.sh$' > ../git-listing.txt
cd ../autotools
find . | sed 's/^..//' | sort | grep -v '^m4' | grep -v -E '^(aclocal.m4|compile|depcomp|install-sh|ltmain.sh|Makefile.in|missing)$' | grep -v -E '^config(.guess|.sub|ure)$' > ../autotools-listing.txt
cd ..
diff -u git-listing.txt autotools-listing.txt