Package: fai-client
Version: 3.2.14
Severity: normal
Tags: patch
Hi,
It turns out that the fix for bug 490111 didn't actually completely fix
the issue with scripts that use "-w" on the shebang line for Perl scripts.
And everyone uses -w, right? ;)
The attached patch fixes the regex in the case statement.
Cheers!
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26.5-dirk (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=POSIX (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages fai-client depends on:
ii file 4.26-1 Determines file type using "magic"
ii libapt-pkg-perl 0.1.22+b1 Perl interface to libapt-pkg
ii libparse-recdescent-perl 1.95.1+dfsg-3 generates recursive-descent parser
ii perl 5.10.0-16 Larry Wall's Practical Extraction
Versions of packages fai-client recommends:
ii cfengine2 2.2.8-1 Tool for configuring and maintaini
ii debconf-utils 1.5.24 debconf utilities
Versions of packages fai-client suggests:
pn cryptsetup <none> (no description available)
pn dmsetup <none> (no description available)
pn ntfsprogs <none> (no description available)
-- no debconf information
--- bin/fai-do-scripts.orig 2008-11-06 12:14:57.000000000 +1300
+++ bin/fai-do-scripts 2008-11-06 12:15:13.000000000 +1300
@@ -133,7 +133,7 @@
fc_check_status $file $? | tee -a $LOGDIR/cfengine.log
;;
- *"perl*script"*)
+ *perl*script*)
echo "Executing perl: $file"
echo "===== perl: $file =====" >> $LOGDIR/perl.log 2>&1
./$file >> $LOGDIR/perl.log 2>&1