summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-04-16 11:39:42 +0100
committerNick White <git@njw.me.uk>2009-04-16 11:39:42 +0100
commit9d977397941833ab810eb41cd4c8895b40d929fc (patch)
tree24cbc8d9caa4ee73f4e330794854f1cb3a5844ec
parent3f6d4345d73a4ff238417a3be9176659fcf311e1 (diff)
downloadgemrb-gameinstallers-9d977397941833ab810eb41cd4c8895b40d929fc.tar.bz2
gemrb-gameinstallers-9d977397941833ab810eb41cd4c8895b40d929fc.zip
Removed obselete copycdextras function
-rw-r--r--includes/cd-includes.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/includes/cd-includes.sh b/includes/cd-includes.sh
index b9c3a3c..e234c9b 100644
--- a/includes/cd-includes.sh
+++ b/includes/cd-includes.sh
@@ -53,15 +53,3 @@ function getcd
return 0
}
-
-function copycdextras
-{
- # usage: copycdextras cdnum
- # essentially a case insensitive cp -R cd#/*
- CDNUMBER=$1
-
- for filename in $(find $CDMOUNT/[cC][dD]$CDNUMBER/ -type f || die); do
- relativepath=$(echo $filename|gawk -F "$CDMOUNT/[cC][dD]$CDNUMBER" '{print $2}'|tr A-Z a-z)
- cp $filename "$TARGETDIR"/$relativepath || die
- done
-}