Whamcloud - gitweb
mk_cmds: don't use explicit pathname for sed
authorTheodore Ts'o <tytso@mit.edu>
Thu, 22 Nov 2018 23:01:56 +0000 (18:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Nov 2018 23:01:56 +0000 (18:01 -0500)
$AWK doesn't use an explicit pathname, and it's perfectly fine to
assume that awk and sed are in the user's PATH.  The problem with
using an explicit pathname is that Debian currently allows merged and
non-merged /usr.  Avoid using an explicit pathname to prevent
potential problems.

Addresses-Debian-Bug: #914087
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ss/mk_cmds.sh.in

index 6d48735..53282f4 100644 (file)
@@ -4,7 +4,7 @@
 
 DIR=@datadir@/ss
 AWK=@AWK@
-SED=@SED@
+SED=sed
 
 for as_var in \
   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \