浏览代码

Update switch.sh

FusionPBX 8 年之前
父节点
当前提交
296ca10552
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      freebsd/resources/switch.sh

+ 2 - 2
freebsd/resources/switch.sh

@@ -7,7 +7,7 @@ cd "$(dirname "$0")"
 . ./config.sh
 
 #install the package
-if [ .$switch_source = "package" ]; then
+if [ .$switch_source = ."package" ]; then
 	#run the package install
 	switch/package-release.sh
 
@@ -19,7 +19,7 @@ if [ .$switch_source = "package" ]; then
 fi
 
 #install from source
-if [ .$switch_source = "source" ]; then
+if [ .$switch_source = ."source" ]; then
 	#compile the source
 	if [ ."$switch_branch" = "master" ]; then
 		switch/source-master.sh