From 0faecacbf140c5787271b2e62df92355456d3bb0 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 21 Dec 2008 16:16:27 +0000 Subject: minor fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@694 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trunk/lib') 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 - echo $1 | sed -e 's/.*\.\(.*\)$/\1/' + echo `basename $1` | sed -e 's/.*\.\(.*\)$/\1/' } -- cgit v1.2.3