From 5686153939bd42b458f1a6ea1c901f5400f9efe5 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Sun, 30 Jul 2006 13:13:31 +0100 Subject: [PATCH] Translate '.' in filenames to '_' in bash variable names --- scripts/module-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/module-create.sh b/scripts/module-create.sh index 1dd406f..91eb270 100755 --- a/scripts/module-create.sh +++ b/scripts/module-create.sh @@ -52,7 +52,7 @@ fi # function to rename a package to a bash/C identifier get_cname() { - echo $1 | tr +- p_ + echo $1 | tr +-. p__ }