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)