Andreas Tille pushed to branch master at Debian Med / community / helper-scripts
Commits:
f00a4195 by Andreas Tille at 2018-03-09T23:44:53+01:00
Some docs have lower case extendion .rd
- - - - -
1 changed file:
- create_README.source
Changes:
=====================================
create_README.source
=====================================
--- a/create_README.source
+++ b/create_README.source
@@ -10,10 +10,15 @@ Explanation for binary files inside source package
according to
EOT
GuessDocName () {
- if [ ! -e $1.Rd ] ; then
- echo $1 | sed 's/\.[RDArdat]\+$/.Rd/'
- else
+ if [ -e $1.Rd ] ; then
echo $1.Rd
+ else
+ rdoc=`echo $1 | sed 's/\.[RDArdat]\+$/.Rd/'`
+ if [ -e $rdoc ] ; then
+ echo $rdoc
+ else
+ echo ${rdoc}.rd
+ fi
fi
}
View it on GitLab:
https://salsa.debian.org/med-team/community/helper-scripts/commit/f00a41957a16fad3bff583d774584bccd4c7def1
---
View it on GitLab:
https://salsa.debian.org/med-team/community/helper-scripts/commit/f00a41957a16fad3bff583d774584bccd4c7def1
You're receiving this email because of your account on salsa.debian.org.
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit