From b3c093fd94bc59fe771d9ec8798d984df468af0e Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 1 Dec 2020 16:21:22 +0000 Subject: [PATCH] pkg.sh: Don't exclude .in files from source package Building with .in files should work just fine, so don't exclude them anylonger. Signed-off-by: Jan Lindemann --- scripts/pkg.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/pkg.sh b/scripts/pkg.sh index 283c56cf..b86688d5 100644 --- a/scripts/pkg.sh +++ b/scripts/pkg.sh @@ -488,9 +488,7 @@ build_pkg() # --- tar up source directory tree create_empty_dir $DIST_PCKG_DIR "Package directory" - local excluded=`find $TOPDIR -name '*.in' | sed "s/\.in$//; s%$DIST_SRC_DIR%%; s%^[./]*%%; s/^/--exclude /g"` - tar --anchored $addprefix $excluded \ - -czvf $DIST_PCKG_DIR/$tar_archive -C $DIST_SRC_DIR `basename $src_tree` + tar --anchored -czvf $DIST_PCKG_DIR/$tar_archive -C $DIST_SRC_DIR `basename $src_tree` case "$PKG_FORMAT" in rpm)