postgresql/gen_sources.sh
2016-10-26 08:29:13 +02:00

11 lines
205 B
Bash
Executable File

#! /bin/sh -x
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
while read line
do
base=`basename "$line"`
md5sum "$base"
done