diff options
author | dougb <dougb@FreeBSD.org> | 2011-05-15 10:49:17 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-05-15 10:49:17 +0800 |
commit | d4eae248fc3499866ff557806dc95e19f9c41643 (patch) | |
tree | 41e2f7bdfeea9edb4e6eedfd70e9de4929e5ef02 /java | |
parent | c6b86ccb25cd0028406167283ff431a3267900fc (diff) | |
download | freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.gz freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.tar.zst freebsd-ports-gnome-d4eae248fc3499866ff557806dc95e19f9c41643.zip |
Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""
These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.
In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.
In a few places, add $FreeBSD$
No functional changes, so no PORTREVISION bumps
Diffstat (limited to 'java')
-rw-r--r-- | java/jboss3/files/jboss3.in | 1 | ||||
-rw-r--r-- | java/jboss4/files/jboss4.in | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/java/jboss3/files/jboss3.in b/java/jboss3/files/jboss3.in index 8b9a80e4fd65..2fb3e342eb52 100644 --- a/java/jboss3/files/jboss3.in +++ b/java/jboss3/files/jboss3.in @@ -28,7 +28,6 @@ procname="%%JAVA%%" [ -z "$%%APP_SHORTNAME%%_enable" ] && %%APP_SHORTNAME%%_enable="NO" [ -z "$%%APP_SHORTNAME%%_flags" ] && %%APP_SHORTNAME%%_flags="-server" -[ -z "$%%APP_SHORTNAME%%_config" ] && %%APP_SHORTNAME%%_config="" %%APP_SHORTNAME%%_start () { diff --git a/java/jboss4/files/jboss4.in b/java/jboss4/files/jboss4.in index 3aa8b32c76b8..f63385bc4866 100644 --- a/java/jboss4/files/jboss4.in +++ b/java/jboss4/files/jboss4.in @@ -29,7 +29,6 @@ procname="%%JAVA%%" [ -z "$%%APP_SHORTNAME%%_enable" ] && %%APP_SHORTNAME%%_enable="NO" [ -z "$%%APP_SHORTNAME%%_flags" ] && %%APP_SHORTNAME%%_flags="-server" -[ -z "$%%APP_SHORTNAME%%_config" ] && %%APP_SHORTNAME%%_config="" %%APP_SHORTNAME%%_start () { |