aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index f66e9a7..af76cd1 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -505,3 +505,10 @@ function set_jail_perms {
}
+function slash {
+
+ # remove additional slashes
+ echo $1 | sed -e 's/\/\+/\//g'
+
+}
+