summaryrefslogtreecommitdiff
authorschurig <schurig>2003-06-06 14:42:22 (UTC)
committer schurig <schurig>2003-06-06 14:42:22 (UTC)
commit923ca7f364bbbece39bcc99d2e5e6a5716bd835b (patch) (side-by-side diff)
tree6f6c820e132d796bc6404c3d8bba2d1062384cc3
parent802e9457b1bc158c61849755215fe2a5bad6231d (diff)
downloadopie-923ca7f364bbbece39bcc99d2e5e6a5716bd835b.zip
opie-923ca7f364bbbece39bcc99d2e5e6a5716bd835b.tar.gz
opie-923ca7f364bbbece39bcc99d2e5e6a5716bd835b.tar.bz2
don't pack CVS directories into IPKs
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xscripts/mkipkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mkipkg b/scripts/mkipkg
index 9c5e184..43bd3a3 100755
--- a/scripts/mkipkg
+++ b/scripts/mkipkg
@@ -348,12 +348,15 @@ else
if ! (echo $filesubst|grep -q '^/'); then
filesubst="$oldpwd/$filesubst"
fi
( cd $tempDir && substAndStripFiles "$ipkgFileList" $filesubst )
fi
+# removing CVS directories
+find $tempDir -name CVS -a -type d -print0 | xargs -0 rm -rf
+
path="`echo "$PATH" | sed -e "s/\:/ /g"`"
if [ -z "$mkfsjffs2" ]; then
for i in $path; do
if [ -x "$i/mkfs.jffs2" ]; then
mkfsjffs2="$i/mkfs.jffs2"
break