From a767f2fd6c5a6104ff32a35a27f0c15aec546957 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Thu, 19 Mar 2026 06:33:24 +0100 Subject: builds: move build scripts into "tools/" We have a bunch of scripts used by our different build systems that are all located in the top-level directory. Now that we have introduced the new "tools/" directory though we have a better home for them. Move the scripts into the "tools/" directory. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- generate-script.sh | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 generate-script.sh (limited to 'generate-script.sh') diff --git a/generate-script.sh b/generate-script.sh deleted file mode 100755 index a149e4f0ba..0000000000 --- a/generate-script.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh - -set -e - -if test $# -ne 3 -then - echo >&2 "USAGE: $0 " - exit 1 -fi - -INPUT="$1" -OUTPUT="$2" -BUILD_OPTIONS="$3" - -. "$BUILD_OPTIONS" - -sed -e "1s|#!.*/sh|#!$SHELL_PATH|" \ - -e "s|@SHELL_PATH@|$SHELL_PATH|" \ - -e "s|@DIFF@|$DIFF|" \ - -e "s|@LOCALEDIR@|$LOCALEDIR|g" \ - -e "s/@USE_GETTEXT_SCHEME@/$USE_GETTEXT_SCHEME/g" \ - -e "$BROKEN_PATH_FIX" \ - -e "s|@GITWEBDIR@|$GITWEBDIR|g" \ - -e "s|@PERL_PATH@|$PERL_PATH|g" \ - -e "s|@PAGER_ENV@|$PAGER_ENV|g" \ - "$INPUT" >"$OUTPUT" - -case "$(basename "$INPUT")" in -git-mergetool--lib.sh|git-sh-i18n.sh|git-sh-setup.sh) - ;; -*) - chmod a+x "$OUTPUT" - ;; -esac -- cgit v1.3-5-g9baa