diff options
Diffstat (limited to 'cad/kicad-devel/files/newVersion.sh')
-rw-r--r-- | cad/kicad-devel/files/newVersion.sh | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/cad/kicad-devel/files/newVersion.sh b/cad/kicad-devel/files/newVersion.sh index 0ffa9dd30569..405b7fd6e1c5 100644 --- a/cad/kicad-devel/files/newVersion.sh +++ b/cad/kicad-devel/files/newVersion.sh @@ -1,25 +1,14 @@ #!/bin/sh -#GIT_SRC_HASH=`cd kicad-repo; git log -n 1 --pretty=format:"%H"` -#GIT_SRC_DATE=`cd kicad-repo; git log -n 1 --date=iso-local -n 1 --pretty=format:"%cd" | \ -# cut -c '1-19' | sed -e 's,-,,g' -e 's,:,,g' -e 's, ,,g'` - CURDIR=`pwd` WRKDIR=`pwd`/work #mkdir -p "${WRKDIR}" -#if [ \! -d "${CURDIR}/kicad-library" ]; then -# git clone https://github.com/KiCad/kicad-library.git -b master "${CURDIR}/kicad-library"; -#else -# cd "${CURDIR}/kicad-library" -# git pull; -#fi - if [ \! -d "${CURDIR}/kicad-repo" ]; then - git clone https://github.com/KiCad/kicad-source-mirror.git -b master "${CURDIR}/kicad-repo"; + git clone https://gitlab.com/kicad/code/kicad.git -b master "${CURDIR}/kicad-repo"; else cd "${CURDIR}/kicad-repo" - git pull https://github.com/KiCad/kicad-source-mirror.git; + git pull https://gitlab.com/kicad/code/kicad.git; fi cd "${CURDIR}/kicad-repo" @@ -31,12 +20,3 @@ echo "$GIT_SRC_HASH, $GIT_SRC_DATE" echo "GIT_SRC_HASH= ${GIT_SRC_HASH}" > ${CURDIR}/Makefile.git_rev echo "GIT_SRC_DATE= ${GIT_SRC_DATE}" >> ${CURDIR}/Makefile.git_rev -#mkdir -p "${WRKDIR}/kicad-library-master" -#mkdir -p "${WRKDIR}/kicad-r${GIT_SRC_DATE}" -#cd "${CURDIR}/kicad-repo" -#find . -type d -name .git -prune -o -print | cpio -pdamuv "${WRKDIR}/kicad-r${GIT_SRC_DATE}"; -#cd "${CURDIR}/kicad-library" -#find . -type d -name .git -prune -o -print | cpio -pdamuv "${WRKDIR}/kicad-library-master" -#cd "${WRKDIR}" -#tar cvfy /usr/ports/distfiles/kicad/kicad-r${GIT_SRC_DATE}.tar.bz2 \ -# kicad-r${GIT_SRC_DATE} kicad-library-master |