Compare commits

..

3 commits

Author SHA1 Message Date
245a071852
synchronize 2024-03-23 21:13:10 +01:00
dffda8c1ec
build 2024-03-23 19:50:20 +01:00
5aaa437dd8
clone-python 2024-03-23 19:44:27 +01:00
3 changed files with 22 additions and 3 deletions

View file

@ -1,3 +1,7 @@
./build.py \ if [ -x './build.py' ] ; then
|| \ ./build.py
elif [ -x './build.sh' ] ; then
./build.sh ./build.sh
else
exit
fi

15
cd-clone-python Executable file
View file

@ -0,0 +1,15 @@
[ "${1}" ] && REPOSITORY_FULL="${1}" || exit
REPOSITORY_NAME="$(basename ${REPOSITORY_FULL})"
REPOSITORY_TEMP="$(mktemp --directory)"
git clone \
-- \
"${GITHUB_SERVER_URL}/${REPOSITORY_FULL}" \
"${REPOSITORY_TEMP}"
mv "${REPOSITORY_TEMP}/${REPOSITORY_NAME}" \
/usr/local/lib/python3.*/dist-packages/
rm --force --recursive \
"${REPOSITORY_TEMP}"