fix: fix url for github repositories

This commit is contained in:
2025-09-24 11:53:20 -05:00
parent 0668caa574
commit c16d50bf3d

View File

@@ -39,11 +39,11 @@ cd ..
echo "=== Checkout BEC Widgets ==="
mkdir -p ./_bec_widgets_checkout_/
cd ./_bec_widgets_checkout_/
if git clone --depth 1 --branch "$WIDGETS_BRANCH" https://github.com/bec-project/bec-widgets.git bec_widgets; then
if git clone --depth 1 --branch "$WIDGETS_BRANCH" https://github.com/bec-project/bec_widgets.git bec_widgets; then
echo "Widgets checkout successful"
else
echo "Widgets checkout failed, trying default branch"
git clone --depth 1 https://github.com/bec-project/bec-widgets.git bec_widgets
git clone --depth 1 https://github.com/bec-project/bec_widgets.git bec_widgets
fi
cd ..
@@ -52,11 +52,11 @@ cd ..
echo "=== Checkout Ophyd Devices ==="
mkdir -p ./_ophyd_devices_checkout_/
cd ./_ophyd_devices_checkout_/
if git clone --depth 1 --branch "$OPHYD_DEVICES_BRANCH" https://github.com/bec-project/bec-ophyd-devices.git bec_ophyd_devices; then
if git clone --depth 1 --branch "$OPHYD_DEVICES_BRANCH" https://github.com/bec-project/ophyd_devices.git bec_ophyd_devices; then
echo "Ophyd Devices checkout successful"
else
echo "Ophyd Devices checkout failed, trying default branch"
git clone --depth 1 https://github.com/bec-project/bec-ophyd-devices.git bec_ophyd_devices
git clone --depth 1 https://github.com/bec-project/ophyd_devices.git bec_ophyd_devices
fi
cd ..