reposinit script bugfix
This commit is contained in:
parent
854aa19220
commit
499ca5d6d0
10
reposinit
10
reposinit
@ -1,5 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
|
echo "* Initialising Submodules"
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
echo "* Intialising Submodules"
|
echo "* Intialising Submodules"
|
||||||
mkvenv
|
mkvenv
|
||||||
|
|
||||||
@ -8,8 +12,8 @@ for path in `find pylibs/ -maxdepth 1 -type d`; do
|
|||||||
if [[ $path != "pylibs/" ]];then
|
if [[ $path != "pylibs/" ]];then
|
||||||
lib=${path#*/}
|
lib=${path#*/}
|
||||||
echo Creating symbolic link for library $lib
|
echo Creating symbolic link for library $lib
|
||||||
rm -f venv/lib/python3.9/site-packages/$lib
|
rm -f venv/lib/python*/site-packages/$lib
|
||||||
ln -s ../../../../$path venv/lib/python3.9/site-packages/
|
ln -s ../../../../$path venv/lib/python*/site-packages/
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user