#!/bin/sh export PYTHONPATH=/pubx/git-replace/ new_args=python /pubx/git-replace/replace_url.py "$*" # $* : -c advice.detachedHead=false clone --depth 1 --branch main https://github.com/frida/glib.git glib # new_args : -c advice.detachedHead=false clone --depth 1 --branch main git@gitcode.net/dependency/frida/glib.git glib /usr/bin/git.original $new_args