mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
10 lines
337 B
Bash
10 lines
337 B
Bash
#!/bin/sh
|
|
if [ ! -e dirlist -o ! -e ../Makefile ]; then
|
|
echo "Wrong directory; this script needs to be called from"
|
|
echo "/usr/ports/misc/kdehier/files !"
|
|
exit 1
|
|
fi
|
|
|
|
grep -v "^@comment" dirlist | sed -e "s,$,/.keep_me," | sort | uniq > ../pkg-plist
|
|
grep -v "^@comment" dirlist | sed -e "s,^,@dirrm ," | sort -r | uniq >> ../pkg-plist
|