summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-09-03 02:46:41 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-09-03 02:46:41 +0000
commit4ce8a74c1278360ec93a6f583c50ee389ce75681 (patch)
tree765575e44c267c7dae42d8fe0526ab8027bc1935 /app-admin/gentoolkit/files
parentmasking sgmltools-lite-3.0.3-r5. (diff)
downloadgentoo-2-4ce8a74c1278360ec93a6f583c50ee389ce75681.tar.gz
gentoo-2-4ce8a74c1278360ec93a6f583c50ee389ce75681.tar.bz2
gentoo-2-4ce8a74c1278360ec93a6f583c50ee389ce75681.zip
parse off trailing /
Diffstat (limited to 'app-admin/gentoolkit/files')
-rw-r--r--app-admin/gentoolkit/files/scripts/qpkg7
1 files changed, 4 insertions, 3 deletions
diff --git a/app-admin/gentoolkit/files/scripts/qpkg b/app-admin/gentoolkit/files/scripts/qpkg
index 9e3063a26acc..2ee0a277eb05 100644
--- a/app-admin/gentoolkit/files/scripts/qpkg
+++ b/app-admin/gentoolkit/files/scripts/qpkg
@@ -7,8 +7,8 @@
#
# Maintainer: Brandon Low <lostlogic@gentoo.org>
#
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/scripts/qpkg,v 1.14 2002/07/26 06:07:42 lostlogic Exp $
-ID='$Id: qpkg,v 1.14 2002/07/26 06:07:42 lostlogic Exp $'
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/files/scripts/qpkg,v 1.15 2002/09/03 02:46:41 lostlogic Exp $
+ID='$Id: qpkg,v 1.15 2002/09/03 02:46:41 lostlogic Exp $'
VERSION=0.`echo ${ID} | cut -d\ -f3`
PROG=`basename ${0}`
@@ -113,7 +113,8 @@ do
usage=y
break
fi
- arg=$a
+ # Kill a trailing slash
+ arg=${a%/}
;;
esac