Package: devscripts
Version: 2.10.52
Severity: normal
bash jade test-checkbashism $ ls
a script.sh script.sh~
bash jade test-checkbashism $ cat script.sh
#!/bin/sh
source a
bash jade test-checkbashism $ ./script.sh
./script.sh: 3: source: not found
bash jade test-checkbashism $ bash
Ryan Niebur wrote, Wednesday, July 01, 2009 8:21 AM:
bash jade test-checkbashism $ cat script.sh
#!/bin/sh
source a
[...]
bash jade test-checkbashism $ checkbashisms ./script.sh
bash jade test-checkbashism $ echo $?
0
It *does*, but not if the filename being sourced is a single character.
On Wed, Jul 01, 2009 at 09:52:00AM +0100, Adam D. Barratt wrote:
Ryan Niebur wrote, Wednesday, July 01, 2009 8:21 AM:
bash jade test-checkbashism $ cat script.sh
#!/bin/sh
source a
[...]
bash jade test-checkbashism $ checkbashisms ./script.sh
bash jade test-checkbashism $ echo $?
0
It
Ryan Niebur wrote, Wednesday, July 01, 2009 10:21 AM
On Wed, Jul 01, 2009 at 09:52:00AM +0100, Adam D. Barratt wrote:
It *does*, but not if the filename being sourced is a single character.
ok. but that's not the only case where it doesn't detect it. the
problem that caused me to make this
Package: devscripts
Severity: wishlist
It would be nice if grep-excuses could list packages on the system that
are having issues migrating to testing and what the issues holding them
back are. In addition it might be nice if that mode could be enabled
when grep-excuses is ran as migration-alert
Package: devscripts
Version: 2.10.52
Severity: minor
File: /usr/bin/licensecheck
licensecheck should not report issues with empty files. They are quite
common in Python world and obviously cannot have any license/copyright
problems.
$ touch __init__.py
$ licensecheck -r .
./__init__.py: *No
Author: adsb
Date: 2009-07-01 17:45:15 + (Wed, 01 Jul 2009)
New Revision: 1919
Modified:
trunk/debian/changelog
trunk/scripts/checkbashisms.pl
Log:
checkbashisms: Detect the use of source when the sourced filename
contains a tilde (Closes: #528592) or consists of a single character
Processing commands for cont...@bugs.debian.org:
#devscripts (2.10.53) UNRELEASED; urgency=low
#
# * checkbashisms: Detect the use of source when the sourced filename
#contains a tilde (Closes: #528592) or consists of a single character
#(Closes: #535252). Thanks, Raphael Geissert
July 1, 2009: 4G TRENDS WEEKLY NEWSLETTER
4G TRENDS: Hot time to profit from 4G
To view this week's newsletter online go to:
http://cts.vresp.com/c/?Trendsmedia/ce10cce3b2/edfcbf0093/95fc56f86c
THIS WEEK'S FEATURED ARTICLES:
*Learn how 4G wireless technology is transforming business and
Package: devscripts
Version: 2.10.52
User: devscri...@packages.debian.org
Usertags: checkbashisms
Hi,
While reporting bashisms in debian/rules I found the following FP:
possible bashism in exim4/rules line 271 ('$( foo)' should be '$(cat foo)'):
if [ -e $(DEBIAN)/example.conf.md5 ] [
10 matches
Mail list logo