[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#396861: live-package: Don't include hidden paths from scripts



Package: live-package
Version: 0.99.13-1
Severity: normal
Tags: patch

make-live should not include hidden paths from the scripts directory.

I set the LIVE_BASE variable to point to a working copy of your subversion repository.
However make-live then wants to include the files in the .svn directory of the scripts directory. This is of course not possible and results in an error.


regards,
Markus



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages live-package depends on:
ii  cdebootstrap              0.3.15         Bootstrap a Debian system
ii  genext2fs                 1.4-rc1-2      ext2 filesystem generator for embe
ii  mkisofs                   5:1.0~pre4-1.1 Creates ISO-9660 CD-ROM filesystem
ii  squashfs-tools            1:2.2r2-3      Tool to create and append to squas

live-package recommends no packages.

-- no debconf information



-------------- next part --------------
Index: live-package/src/main.sh
===================================================================
--- live-package/src/main.sh	(revision 387)
+++ live-package/src/main.sh	(working copy)
@@ -36,7 +36,7 @@
 CODENAME_UNSTABLE="sid"
 
 # Source sub scripts
-for SCRIPT in `find ${BASE}/scripts/ -not -name '*~' -and -type f`
+for SCRIPT in `find ${BASE}/scripts/ -not -name '*~' -not -wholename "${BASE}/scripts/.*" -and -type f`
 do
 	. "${SCRIPT}"
 done

Reply to: