forked from norman/fusionpbx-install.sh-github-mirror
Fix conditional syntax in source-release.sh
This commit is contained in:
4
debian/resources/switch/source-release.sh
vendored
4
debian/resources/switch/source-release.sh
vendored
@@ -127,7 +127,7 @@ if [ ."$switch_branch" != ."master" ] && [ ."$switch_branch" = ."stable" ]; then
|
|||||||
|
|
||||||
# Get the stable branch
|
# Get the stable branch
|
||||||
git checkout v$switch_version
|
git checkout v$switch_version
|
||||||
end
|
fi
|
||||||
|
|
||||||
# Get the source code using git
|
# Get the source code using git
|
||||||
if [ ."$switch_version" == ."1.10.12" ]; then
|
if [ ."$switch_version" == ."1.10.12" ]; then
|
||||||
@@ -138,7 +138,7 @@ if [ ."$switch_branch" != ."master" ] && [ ."$switch_branch" = ."stable" ]; then
|
|||||||
|
|
||||||
# Get the stable branch
|
# Get the stable branch
|
||||||
git checkout $switch_version
|
git checkout $switch_version
|
||||||
end
|
fi
|
||||||
|
|
||||||
# Reset repo just-in-case we are rebuilding
|
# Reset repo just-in-case we are rebuilding
|
||||||
#git reset --hard origin/master && git clean -fdx
|
#git reset --hard origin/master && git clean -fdx
|
||||||
|
|||||||
Reference in New Issue
Block a user