From: nbd Date: Fri, 29 Jun 2012 22:03:26 +0000 (+0000) Subject: lsof: fix broken patch X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=f22e55a27040b7e22a1d514f86c35cfa89997d24;p=packages.git lsof: fix broken patch The line: if 1 -eq 0 is missing the 'test' command. Alternatively, "if /bin/false" would have worked too. Signed-off-by: Philip Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/packages@32549 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/lsof/patches/003-lsof_selinux.patch b/utils/lsof/patches/003-lsof_selinux.patch index 7cfcb4024..c74c1e3f9 100644 --- a/utils/lsof/patches/003-lsof_selinux.patch +++ b/utils/lsof/patches/003-lsof_selinux.patch @@ -5,7 +5,7 @@ fi # } fi # } - if test $LSOF_TMP1 -eq 1 # { -+ if 0 -eq 1 # { ++ if test 0 -eq 1 # { then LSOF_CFGF="$LSOF_CFGF -DHASSELINUX" LSOF_CFGL="$LSOF_CFGL -lselinux"