Translate '.' in filenames to '_' in bash variable names

This commit is contained in:
Laurence Withers 2006-07-30 13:13:31 +01:00
parent f367b2e1aa
commit 5686153939
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ fi
# function to rename a package to a bash/C identifier # function to rename a package to a bash/C identifier
get_cname() { get_cname() {
echo $1 | tr +- p_ echo $1 | tr +-. p__
} }