forked from norman/fusionpbx-install.sh-github-mirror
Update source-release.sh
This commit is contained in:
3
debian/resources/switch/source-release.sh
vendored
3
debian/resources/switch/source-release.sh
vendored
@@ -12,9 +12,6 @@ apt-get install -y --force-yes freeswitch-video-deps-most
|
|||||||
|
|
||||||
#we are about to move out of the executing directory so we need to preserve it to return after we are done
|
#we are about to move out of the executing directory so we need to preserve it to return after we are done
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
#SWITCH_MAJOR=$(git ls-remote --heads https://freeswitch.org/stash/scm/fs/freeswitch.git "v*" | cut -d/ -f 3 | grep -P '^v\d+\.\d+' | sort | tail -n 1| cut -dv -f2)
|
|
||||||
#SWITCH_MINOR=$(git ls-remote --tags https://freeswitch.org/stash/scm/fs/freeswitch.git v$SWITCH_MAJOR.* | cut -d/ -f3 | cut -dv -f2 | cut -d. -f3 | sort -n | tail -n1)
|
|
||||||
#SWITCH_VERSION=$SWITCH_MAJOR.$SWITCH_MINOR
|
|
||||||
SWITCH_VERSION=1.6.18
|
SWITCH_VERSION=1.6.18
|
||||||
echo "Using version $SWITCH_VERSION"
|
echo "Using version $SWITCH_VERSION"
|
||||||
cd /usr/src
|
cd /usr/src
|
||||||
|
|||||||
Reference in New Issue
Block a user