aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.14
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2009-11-06 02:50:45 +0800
committerskv <skv@FreeBSD.org>2009-11-06 02:50:45 +0800
commit23bc900c61c42e512a3b219bf81ce4f11f5c1c52 (patch)
treea3c3f46b1b69a5734f4fe15a124722c285abb599 /lang/perl5.14
parente905f7eff52d4b7ad5b1073ccdc1ca2e9ebfd62f (diff)
downloadfreebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.tar.gz
freebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.tar.zst
freebsd-ports-gnome-23bc900c61c42e512a3b219bf81ce4f11f5c1c52.zip
Fix script "use.perl": correctly check variables 'need_*'.
Submitted by: Artis Caune <artis.caune xx gmail.com>
Diffstat (limited to 'lang/perl5.14')
-rw-r--r--lang/perl5.14/files/use.perl14
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/perl5.14/files/use.perl b/lang/perl5.14/files/use.perl
index 59ee8ee0fce9..e6314754e43f 100644
--- a/lang/perl5.14/files/use.perl
+++ b/lang/perl5.14/files/use.perl
@@ -140,12 +140,12 @@ do_spam_manpath()
echo " Done."
}
-[ $need_remove_links ] && do_remove_links
-[ $need_create_links ] && do_create_links
-[ $need_post_install ] && do_post_install
-[ $need_cleanup_make_conf ] && do_cleanup_make_conf
-[ $need_spam_make_conf ] && do_spam_make_conf
-[ $need_cleanup_manpath ] && do_cleanup_manpath
-[ $need_spam_manpath ] && do_spam_manpath
+[ "$need_remove_links" = "yes" ] && do_remove_links
+[ "$need_create_links" = "yes" ] && do_create_links
+[ "$need_post_install" = "yes" ] && do_post_install
+[ "$need_cleanup_make_conf" = "yes" ] && do_cleanup_make_conf
+[ "$need_spam_make_conf" = "yes" ] && do_spam_make_conf
+[ "$need_cleanup_manpath" = "yes" ] && do_cleanup_manpath
+[ "$need_spam_manpath" = "yes" ] && do_spam_manpath
exit 0