Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
aa2f3fc3
Commit
aa2f3fc3
authored
Jun 28, 2020
by
魏艺敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.wanmeizhensuo.com/zhaojianwei/bi-report
into weiyimin
parents
8a90473c
830645d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hive.sh
lib/shell/hive.sh
+2
-2
No files found.
lib/shell/hive.sh
View file @
aa2f3fc3
...
@@ -11,8 +11,8 @@ if [ $# -lt 1 ]; then
...
@@ -11,8 +11,8 @@ if [ $# -lt 1 ]; then
fi
fi
#判断sql脚本是否存在
#判断sql脚本是否存在
project
_name
=
$1
dir
_name
=
$1
sql_path
=
"/home/bi/bi-report/sqls/
$
project_name
/
$project
_name
.sql"
sql_path
=
"/home/bi/bi-report/sqls/
$
dir_name
/
$dir
_name
.sql"
if
[
!
-f
$sql_path
]
;
then
if
[
!
-f
$sql_path
]
;
then
echo
"Param project_name error, please check again!"
echo
"Param project_name error, please check again!"
exit
0
exit
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment