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
2b256d90
Commit
2b256d90
authored
11 months ago
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
allow to pass version at configure script
parent
166078f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+4
-2
4 additions, 2 deletions
configure
with
4 additions
and
2 deletions
configure
+
4
−
2
View file @
2b256d90
...
@@ -24,6 +24,7 @@ Fine tunning of scandir configuration:
...
@@ -24,6 +24,7 @@ Fine tunning of scandir configuration:
--USE_ENVIRONMENT=BOOLEAN Launch the scandir with a environment [!yes]
--USE_ENVIRONMENT=BOOLEAN Launch the scandir with a environment [!yes]
--NOTIFY=BOOLEAN use notification [!yes]
--NOTIFY=BOOLEAN use notification [!yes]
--VERBOSITY_LEVEL=BOOLEAN level of verbosity [!3]
--VERBOSITY_LEVEL=BOOLEAN level of verbosity [!3]
--version=VALUE version of the service[0.0.1]
Use yes or no with lowercase character to set BOOLEAN values.
Use yes or no with lowercase character to set BOOLEAN values.
...
@@ -96,6 +97,7 @@ LOGGER='!yes'
...
@@ -96,6 +97,7 @@ LOGGER='!yes'
USE_ENVIRONMENT
=
'!yes'
USE_ENVIRONMENT
=
'!yes'
NOTIFY
=
'!yes'
NOTIFY
=
'!yes'
VERBOSITY_LEVEL
=
'!3'
VERBOSITY_LEVEL
=
'!3'
version
=
'0.0.1'
for
arg
;
do
for
arg
;
do
case
"
$arg
"
in
case
"
$arg
"
in
...
@@ -111,6 +113,7 @@ for arg ; do
...
@@ -111,6 +113,7 @@ for arg ; do
--USE_ENVIRONMENT
=
*
)
USE_ENVIRONMENT
=
${
arg
#*=
}
;;
--USE_ENVIRONMENT
=
*
)
USE_ENVIRONMENT
=
${
arg
#*=
}
;;
--NOTIFY
=
*
)
NOTIFY
=
${
arg
#*=
}
;;
--NOTIFY
=
*
)
NOTIFY
=
${
arg
#*=
}
;;
--VERBOSITY_LEVEL
=
*
)
VERBOSITY_LEVEL
=
${
arg
#*=
}
;;
--VERBOSITY_LEVEL
=
*
)
VERBOSITY_LEVEL
=
${
arg
#*=
}
;;
--version
=
*
)
version
=
${
arg
#*=
}
;;
-
*
)
echo
"
$0
: unknown option
$arg
"
;;
-
*
)
echo
"
$0
: unknown option
$arg
"
;;
*
=
*
)
;;
*
=
*
)
;;
*
)
target
=
$arg
;;
*
)
target
=
$arg
;;
...
@@ -171,9 +174,8 @@ cat << EOF
...
@@ -171,9 +174,8 @@ cat << EOF
# This file was generated by:
# This file was generated by:
#
$cmdline
#
$cmdline
# Any changes made here will be lost if configure is re-run.
# Any changes made here will be lost if configure is re-run.
package :=
$package
version :=
$version
version :=
$version
package :=
$package
prefix :=
$prefix
prefix :=
$prefix
exec_prefix :=
$exec_prefix
exec_prefix :=
$exec_prefix
bindir :=
$bindir
bindir :=
$bindir
...
...
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