pkgsrc/devel/sloccount/patches/patch-rpm__unpacker
khorben bf3c7f285c Import sloccount 2.26 as devel/sloccount
sloccount is a set of tools for counting physical Source Lines of Code (SLOC)
in a large number of languages of a potentially large set of programs.
2017-09-04 11:00:36 +00:00

15 lines
457 B
Text

$NetBSD: patch-rpm__unpacker,v 1.1 2017/09/04 11:00:36 khorben Exp $
Fix portability of comparison check.
--- rpm_unpacker.orig 2004-08-01 03:10:41.000000000 +0000
+++ rpm_unpacker
@@ -61,7 +61,7 @@ do
# If disk space is available, REMOVE THIS LINE:
# find "$newbuild" -type f -name "*.html" -exec rm {} \;
done
- if [ $anychange == 0 ]
+ if [ $anychange = 0 ]
then
echo "UNPACKER: did not add a build directory for spec file $specfile"
fi