Merge branch 'main' of codeberg.org:gwh/slackbuilds
This commit is contained in:
commit
6f3f4a8166
140 changed files with 151 additions and 151 deletions
|
@ -25,7 +25,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ rm -fr $PKG
|
|||
# mise en place
|
||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
( cd $REPOSITORY; git pull )
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout -f $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $PRGNAM
|
||||
cd $PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM
|
|||
cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs
|
||||
cd $PKG/$VHOSTROOT/htdocs
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ case $VERSION in
|
|||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout $VERSION
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ case $VERSION in
|
|||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout $VERSION
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -33,7 +33,7 @@ git submodule update
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ case $VERSION in
|
|||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout $VERSION
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
git submodule update --init --recursive
|
||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ case $VERSION in
|
|||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout $VERSION
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
|
||||
cp -R "$REPOSITORY" $TMP/
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ case $VERSION in
|
|||
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout "$VERSION"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ mkdir -p $PKG
|
|||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||
cd $REPOSITORY
|
||||
git pull --all
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
cp -R "$REPOSITORY" $TMP/
|
||||
cd "$TMP/$PRGNAM/" || exit
|
||||
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
if [ "$VERSION" == "trunk" ]; then
|
||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
rm -r $tmp/$PRGNAM
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R "$REPOSITORY" "$TMP/$PRGNAM"
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
# variables
|
||||
GITHUB_REPO=Peltoche/lsd
|
||||
GITHUB_REPO=lsd-rs/lsd
|
||||
VERSION=${VERSION:-latest}
|
||||
BUILD=${BUILD:-1}
|
||||
|
||||
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $PRGNAM
|
||||
cd $PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
chown -R root:root .
|
||||
|
|
|
@ -32,7 +32,7 @@ git submodule update
|
|||
cp -R "$REPOSITORY" $TMP/
|
||||
cd "$TMP/$PRGNAM/" || exit 1
|
||||
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ cd $TMP || exit 1
|
|||
|
||||
cp -R "$REPOSITORY" "$TMP/$PRGNAM"
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ rm -fr $PKG $TMP/$PRGNAM
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ git pull --all
|
|||
cp -R "$REPOSITORY" $TMP/
|
||||
cd "$TMP/$PRGNAM/" || exit
|
||||
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
if [ "$VERSION" == "trunk" ]; then
|
||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
|
@ -63,7 +63,7 @@ git pull --all
|
|||
cp -R "$SHARDS_REPOSITORY" "$TMP/"
|
||||
cd $TMP/$SHARDS_PRGNAM/
|
||||
|
||||
[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk
|
||||
if [ "$SHARDS_VERSION" == "trunk" ]; then
|
||||
SHARDS_VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
[ -e $TMP/$PRGNAM ] && rm -fr $TMP/$PRGNAM
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
|
|
@ -31,7 +31,7 @@ rm -fr $PKG $TMP/$PRGNAM
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
|
||||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ git pull --all
|
|||
|
||||
cp -R "$REPOSITORY" "$TMP/"
|
||||
cd "$TMP/$PRGNAM" || exit 1
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ case $VERSION in
|
|||
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout "$VERSION"
|
||||
VERSION=${VERSION#emacs-}
|
||||
;;
|
||||
|
|
|
@ -35,7 +35,7 @@ case $VERSION in
|
|||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
;;
|
||||
latest)
|
||||
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
git checkout "$VERSION"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -46,7 +46,7 @@ cd $TMP
|
|||
cp -R $REPOSITORY $PRGNAM
|
||||
|
||||
cd $PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
chown -R root:root .
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
|
||||
cd $TMP/$PRGNAM/
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
|||
|
||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ cd "$TMP" || exit
|
|||
cp -R "$REPOSITORY" "${TMP:?}/$PRGNAM"
|
||||
cd "$TMP/$PRGNAM" || exit
|
||||
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "$VERSION" == "" ] && VERSION=trunk
|
||||
if [ "$VERSION" == "trunk" ]; then
|
||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
|||
cp -R $REPOSITORY $TMP/
|
||||
cd $TMP/$PRGNAM/
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ cd $TMP
|
|||
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||
cd $TMP/$PRGNAM
|
||||
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-version:refname | head -n1)
|
||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue