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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2020-12-01 16:21:22 +00:00
commit b3c093fd94

View file

@ -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)