File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,8 @@ function decrypt () {
151
151
else
152
152
QNAME=$1
153
153
fi
154
- codegen_path=" $( getAppRoot) /dev/gdk/gsql/.tmp/codeGen"
154
+ version=$( basename " $( getAppRoot) " )
155
+ codegen_path=" $( gadmin config get System.DataRoot) /gsql/${version} /.tmp/codeGen"
155
156
if [[ x$QNAME != x ]]
156
157
then
157
158
FILES=$( ls ${codegen_path} /* $QNAME .cpp 2> /dev/null)
@@ -181,7 +182,8 @@ function _complete_decrypt {
181
182
fi
182
183
183
184
local cur=${COMP_WORDS[COMP_CWORD]}
184
- local QUERIES=$( ls $( getAppRoot) /dev/gdk/gsql/.tmp/codeGen/${cur} * .cpp 2> /dev/null)
185
+ local version=$( basename " $( getAppRoot) " )
186
+ local QUERIES=$( ls " $( gadmin config get System.DataRoot) /gsql/${version} /.tmp/codeGen/${cur} *.cpp" 2> /dev/null)
185
187
186
188
for QUERY in $QUERIES ; do
187
189
local filename=$( basename $QUERY )
You can’t perform that action at this time.
0 commit comments