From 39015c0148ccbc106a6acb8f03d78a7a6e666223 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 22 Sep 2023 13:32:08 +0200 Subject: [PATCH] clone with --depth 1 causes issues in get_version of python-ox. use full checkout instead --- ctl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ctl b/ctl index 4237134e..d378bc8c 100755 --- a/ctl +++ b/ctl @@ -27,16 +27,16 @@ if [ "$action" = "init" ]; then $SUDO bin/python3 -m pip install -U --ignore-installed "pip<9" fi if [ ! -d static/oxjs ]; then - $SUDO git clone --depth 1 -b $branch https://git.0x2620.org/oxjs.git static/oxjs + $SUDO git clone -b $branch https://git.0x2620.org/oxjs.git static/oxjs fi $SUDO mkdir -p src if [ ! -d src/oxtimelines ]; then - $SUDO git clone --depth 1 -b $branch https://git.0x2620.org/oxtimelines.git src/oxtimelines + $SUDO git clone -b $branch https://git.0x2620.org/oxtimelines.git src/oxtimelines fi for package in oxtimelines python-ox; do cd ${BASE} if [ ! -d src/${package} ]; then - $SUDO git clone --depth 1 -b $branch https://git.0x2620.org/${package}.git src/${package} + $SUDO git clone -b $branch https://git.0x2620.org/${package}.git src/${package} fi cd ${BASE}/src/${package} $SUDO ${BASE}/bin/python setup.py develop