7510b96218
From chroot-git 2.33.1, we always have an executable named git for other build infrastructure and lints. Let's remove the shenanegan to find which git to be used, prepend the path to chroot-git's git into $PATH, and let's the shell call the correct git for us instead.
11 lines
277 B
Bash
Executable file
11 lines
277 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# changed_templates.sh
|
|
|
|
PATH="/usr/libexec/chroot-git:$PATH"
|
|
|
|
# required by git 2.35.2+
|
|
git config --global --add safe.directory "$PWD"
|
|
|
|
/bin/echo -e '\x1b[32mFetching upstream...\x1b[0m'
|
|
git fetch --depth 200 https://github.com/void-linux/void-packages.git master
|