aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/lspkg2
-rwxr-xr-xtrunk/src/templatepkg7
2 files changed, 2 insertions, 7 deletions
diff --git a/trunk/src/lspkg b/trunk/src/lspkg
index 52b808a..74ed684 100755
--- a/trunk/src/lspkg
+++ b/trunk/src/lspkg
@@ -59,6 +59,8 @@ else
LIST_PKGS=`ls /$ROOT/var/log/packages/ 2> /dev/null`
fi
+LIST_PKGS="`slash $LIST_PKGS`"
+
case $1 in
"-h"|"--help")
usage
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index aba8385..96c1d70 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -665,13 +665,6 @@ function setroot {
}
-function slash {
-
- # remove additional slashes
- echo $1 | sed -e 's/\/\+/\//g'
-
-}
-
# -----------------------------------------------------
# main
# -----------------------------------------------------