Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
korinf
etersoft-build-utils
Commits
d34467c6
Commit
d34467c6
authored
Dec 28, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fixes
parent
766ff340
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
rpmgs
bin/rpmgs
+1
-1
strings
share/eterbuild/functions/strings
+1
-1
test_drop_args.sh
tests/test_drop_args.sh
+1
-0
No files found.
bin/rpmgs
View file @
d34467c6
...
...
@@ -429,7 +429,7 @@ do
git commit
-m
"just import
$FTB
with rpmgs script"
fi
else
is_gear
&&
echo
"Skip tarball committing (run with version or with -f)."
is_gear
&&
echo
"Skip tarball committing (run with version or with -f
option
)."
fi
done
...
...
share/eterbuild/functions/strings
View file @
d34467c6
...
...
@@ -60,7 +60,7 @@ drop_args()
local
ARGS
=
"
$1
"
shift
local
LISTIGNORE
=
"
$@
"
echo
"
$ARGS
"
|
sed
-e
"s|-[
${
LISTIGNORE
/ /
}
]||g"
|
sed
-e
"s|
\+
| |g"
|
filter_strip_spaces
echo
"
$ARGS
"
|
sed
-e
"s|-[
${
LISTIGNORE
/ /
}
]||g"
| filter_strip_spaces
#echo "$ARGS" | \
# ( for i in $LISTIGNORE ; do sed -e "s|-$i||g" ; done ) #| sed -e "s| +| |g"
}
...
...
tests/test_drop_args.sh
View file @
d34467c6
...
...
@@ -17,3 +17,4 @@ check 5 "" "$(drop_args " -h -U " h U)"
check 6
""
"
$(
drop_args
" -h -U "
U h
)
"
check 7
"-z"
"
$(
drop_args
"-v -n -z"
v n
)
"
check 8
""
"
$(
drop_args
"
$*
"
v n
)
"
check 9
""
"
$(
drop_args
""
f a t
)
"
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