aboutsummaryrefslogtreecommitdiffstats
path: root/examples/functions/lowercase
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2001-04-06 19:14:31 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:53 +0000
commit28ef6c316f1aff914bb95ac09787a3c83c1815fd (patch)
tree2812fe7ffc9beec4f99856906ddfcafda54cf16a /examples/functions/lowercase
parentbb70624e964126b7ac4ff085ba163a9c35ffa18f (diff)
downloadandroid_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.tar.gz
android_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.tar.bz2
android_external_bash-28ef6c316f1aff914bb95ac09787a3c83c1815fd.zip
Imported from ../bash-2.05.tar.gz.
Diffstat (limited to 'examples/functions/lowercase')
-rw-r--r--examples/functions/lowercase2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/functions/lowercase b/examples/functions/lowercase
index e3f866e..3cf6bde 100644
--- a/examples/functions/lowercase
+++ b/examples/functions/lowercase
@@ -11,7 +11,7 @@ lowercase()
for file; do
[ -f "$file" ] || continue
filename=${file##*/}
- case "$filename" in
+ case "$file" in
*/*) dirname=${file%/*} ;;
*) dirname=.;;
esac