Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
200f723c
Commit
200f723c
authored
9 years ago
by
Sulverus
Browse files
Options
Downloads
Patches
Plain Diff
tarantoolctl local dir config fix
test-run udpated
parent
5c0d64fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extra/dist/tarantoolctl
+7
-4
7 additions, 4 deletions
extra/dist/tarantoolctl
test-run
+1
-1
1 addition, 1 deletion
test-run
with
8 additions
and
5 deletions
extra/dist/tarantoolctl
+
7
−
4
View file @
200f723c
...
...
@@ -178,10 +178,13 @@ end
local
function
check_user_level
()
-- local dir configuration
local
local_dir
=
'.tarantoolctl'
if
fio
.
stat
(
local_dir
)
then
usermode
=
true
return
local_dir
local
pwd
=
os.getenv
(
'PWD'
)
if
pwd
~=
nil
then
local
local_dir
=
pwd
..
'/.tarantoolctl'
if
fio
.
stat
(
local_dir
)
then
usermode
=
true
return
local_dir
end
end
-- home dir configuration
...
...
This diff is collapsed.
Click to expand it.
test-run
@
9c05fb7c
Compare
271a009b
...
9c05fb7c
Subproject commit
271a009b22b290734f75f2d674a9e664224ea95f
Subproject commit
9c05fb7c36dfe11b5dd2f8ab2293d1be521b8ced
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment