mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 06:59:27 -05:00
added branch parameter to makeSourcePackage script
This commit is contained in:
parent
fdab4808d4
commit
a0d1089559
@ -4,6 +4,7 @@
|
|||||||
version="0.6.2"
|
version="0.6.2"
|
||||||
gitpath="https://github.com/RetroShare/RetroShare.git"
|
gitpath="https://github.com/RetroShare/RetroShare.git"
|
||||||
workdir=retroshare06-${version}
|
workdir=retroshare06-${version}
|
||||||
|
branch="v0.6.2-official_release"
|
||||||
#bubba3="Y" # comment out to compile for bubba3
|
#bubba3="Y" # comment out to compile for bubba3
|
||||||
######################################################
|
######################################################
|
||||||
|
|
||||||
@ -66,6 +67,7 @@ echo " "Commit count : ${ccount}
|
|||||||
echo " "Date : ${date}
|
echo " "Date : ${date}
|
||||||
echo " "Time : ${time}
|
echo " "Time : ${time}
|
||||||
echo " "Hash : ${hhsh}
|
echo " "Hash : ${hhsh}
|
||||||
|
echo " "Using branch : ${branch}
|
||||||
echo " "Using revision : ${rev}
|
echo " "Using revision : ${rev}
|
||||||
|
|
||||||
echo Done.
|
echo Done.
|
||||||
@ -80,7 +82,7 @@ echo Extracting base archive...
|
|||||||
mkdir -p ${workdir}/src
|
mkdir -p ${workdir}/src
|
||||||
echo Checking out latest snapshot...
|
echo Checking out latest snapshot...
|
||||||
cd ${workdir}/src
|
cd ${workdir}/src
|
||||||
git clone --depth 1 https://github.com/RetroShare/RetroShare.git .
|
git clone --depth 1 https://github.com/RetroShare/RetroShare.git --single-branch --branch $branch .
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
if ! test -d ${workdir}/src/libretroshare/; then
|
if ! test -d ${workdir}/src/libretroshare/; then
|
||||||
|
Loading…
Reference in New Issue
Block a user