summaryrefslogtreecommitdiffstats
path: root/scripts/patchfns.in
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2004-07-14 13:39:35 +0000
committerAndreas Gruenbacher <agruen@suse.de>2004-07-14 13:39:35 +0000
commit588f00357effa26b731e90dd129954da4b877901 (patch)
treed0b2b856a435e29d0518b97e0156e1c7682867d3 /scripts/patchfns.in
parentaf99772d8f630fb0035a96665e311b089b364266 (diff)
downloadquilt-588f00357effa26b731e90dd129954da4b877901.tar.gz
- Replace a few instances of awk and sed with @AWK@ and @SED@ in
*.in files.
Diffstat (limited to 'scripts/patchfns.in')
-rw-r--r--scripts/patchfns.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/patchfns.in b/scripts/patchfns.in
index fa03909..f1ee98f 100644
--- a/scripts/patchfns.in
+++ b/scripts/patchfns.in
@@ -235,7 +235,7 @@ rename_in_db()
local from=$1 to=$2
local tmpfile
tmpfile=$(gen_tempfile) || return 1
- /usr/bin/gawk '
+ @AWK@ '
/^'"$(quote_re $from)"'$/ \
{ sub(/'"$(quote_re $from)"'/, "'"${to//\"/\\\"}"'")
good=1 }
@@ -467,7 +467,7 @@ files_in_patch_ordered()
( files_in_patch $patch
echo "-"
filenames_in_patch $patch
- ) | awk '
+ ) | @AWK@ '
$1 == "-" { out=1 ; next }
!out { files[$0]=1 }
out { if ($0 in files && !($0 in printed)) {