Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66-service-scandir
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
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
66-service
Debian
66-service-scandir
Commits
74d56e4b
Commit
74d56e4b
authored
1 year ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
fix replacement of variable value
parent
665e8aa5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
module/configure/configure
+8
-8
8 additions, 8 deletions
module/configure/configure
module/frontend/setenv@
+2
-2
2 additions, 2 deletions
module/frontend/setenv@
module/frontend/svscan@
+2
-2
2 additions, 2 deletions
module/frontend/svscan@
with
12 additions
and
12 deletions
module/configure/configure
+
8
−
8
View file @
74d56e4b
...
...
@@ -57,21 +57,21 @@ if execl-toc -X -V LIVE_DIRECTORY; then
absolute_path
"LIVE_DIRECTORY"
"
${
LIVE_DIRECTORY
}
"
66-yeller
set
live directory to: %b
"
${
LIVE_DIRECTORY
}
"
%n
sed
-i
"s:@
LIVE_DIR
@:-l
${
LIVE_DIRECTORY
}
:"
"
${
svscan
}
"
||
die
"unable to set the live directory to use"
sed
-i
"s:@
live_dir
@:-l
${
LIVE_DIRECTORY
}
:"
"
${
svscan
}
"
||
die
"unable to set the live directory to use"
else
66-yeller
set
live directory to: %b
${
MOD_LIVE
}
%n
sed
-i
"s:@
LIVE_DIR
@:-l
${
MOD_LIVE
}
:"
"
${
svscan
}
"
||
die
"unable to set the live directory to use"
sed
-i
"s:@
live_dir
@:-l
${
MOD_LIVE
}
:"
"
${
svscan
}
"
||
die
"unable to set the live directory to use"
fi
if
[
"
${
USE_ENVIRONMENT
}
"
=
yes
]
;
then
enable
"setenv@
${
owner
}
"
sed
-i
"s:@
USE_ENVIRONMENT
@:-e
${
home_env
}
:"
"
${
svscan
}
"
||
die
"unable to set environment directory to use"
sed
-i
"s:@
PATH_ENVIRONMENT
@:
${
home_env
}
:g"
"
${
FRONTEND_PATH
}
/setenv@"
||
die
"unable to set environment directory to use"
sed
-i
"s:@
use_environment
@:-e
${
home_env
}
:"
"
${
svscan
}
"
||
die
"unable to set environment directory to use"
sed
-i
"s:@
environment_path
@:
${
home_env
}
:g"
"
${
FRONTEND_PATH
}
/setenv@"
||
die
"unable to set environment directory to use"
else
disable
"setenv@@I"
sed
-i
"s:@
USE_ENVIRONMENT
@::"
"
${
svscan
}
"
||
die
"unable to set environment directory to use"
sed
-i
"s:@
use_environment
@::"
"
${
svscan
}
"
||
die
"unable to set environment directory to use"
fi
if
[
"
${
LOGGER
}
"
!=
"yes"
]
;
then
...
...
@@ -83,14 +83,14 @@ fi
if
[
"
${
NOTIFY
}
"
!=
"yes"
]
;
then
66-yeller %rdisable%n notification
sed
-i
"s:@
NOTIFY
@::"
"
${
svscan
}
"
||
die
"unable to disable notification"
sed
-i
"s:@
notify
@::"
"
${
svscan
}
"
||
die
"unable to disable notification"
sed
-i
"s:@notify:#@notify:"
"
${
svscan
}
"
||
die
"unable to disable notification"
else
66-yeller %benable%n notification
sed
-i
"s:@
NOTIFY
@:-d3:"
"
${
svscan
}
"
||
die
"unable to enable notification"
sed
-i
"s:@
notify
@:-d3:"
"
${
svscan
}
"
||
die
"unable to enable notification"
fi
66-yeller
set
verbosity level to: %b
"
${
VERBOSITY_LEVEL
}
"
%n
sed
-i
"s:@
VERBOSITY_LEVEL
@:-v
${
VERBOSITY_LEVEL
}
:"
"
${
svscan
}
"
||
die
"unable to set verbosity"
sed
-i
"s:@
verbosity_level
@:-v
${
VERBOSITY_LEVEL
}
:"
"
${
svscan
}
"
||
die
"unable to set verbosity"
66-yeller
"%bsuccessfully%n configured"
This diff is collapsed.
Click to expand it.
module/frontend/setenv@
+
2
−
2
View file @
74d56e4b
...
...
@@ -12,9 +12,9 @@
backtick -n HOME { homeof @I }
importas -u HOME HOME
execl-toc -v3 -d @
PATH_ENVIRONMENT
@
execl-toc -v3 -d @
environment_path
@
redirfd -w 1 @
PATH_ENVIRONMENT
@/.svscan@@I
redirfd -w 1 @
environment_path
@/.svscan@@I
## GENERAL VARIABLES
...
...
This diff is collapsed.
Click to expand it.
module/frontend/svscan@
+
2
−
2
View file @
74d56e4b
...
...
@@ -23,5 +23,5 @@
)
[environment]
main_args=!@
VERBOSITY_LEVEL@ @LIVE_DIR
@
scandir_args=!@
NOTIFY@ @USE_ENVIRONMENT
@
main_args=!@
verbosity_level@ @live_dir
@
scandir_args=!@
notify@ @use_environment
@
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