diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-21 16:16:27 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-12-21 16:16:27 +0000 |
commit | 0faecacbf140c5787271b2e62df92355456d3bb0 (patch) | |
tree | e00e388d3b728ca67427220938951dcdc4ac572f /trunk | |
parent | 9c9c4ecb204011d3ec3707af32068a37cfb10a95 (diff) | |
download | simplepkg-0faecacbf140c5787271b2e62df92355456d3bb0.tar.gz simplepkg-0faecacbf140c5787271b2e62df92355456d3bb0.tar.bz2 |
minor fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@694 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r-- | trunk/lib/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index 58cffb2..9a123aa 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -1483,7 +1483,7 @@ function file_extension { # output file extension # usage: filesize <filename> - echo $1 | sed -e 's/.*\.\(.*\)$/\1/' + echo `basename $1` | sed -e 's/.*\.\(.*\)$/\1/' } |