X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=build%2Fprocess.sh;fp=build%2Fprocess.sh;h=0000000000000000000000000000000000000000;hp=d173a799ccdf553aa690bcf485c9ccdcbed2931c;hb=bd62b2e6a6e5f1af5a635df3ff1a07f363d9ffe0;hpb=7ac3aee9efa7f9ce1a966df030b1f76f2b82ef2d diff --git a/build/process.sh b/build/process.sh deleted file mode 100755 index d173a79..0000000 --- a/build/process.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# -# Yoink -# Run this as a filter to process `.in' files. -# - -test -x "functions.sh" && . "functions.sh" -test -x "build/functions.sh" && . "build/functions.sh" - -tmpfile=$(mktemp "tmp-XXXXXXXX") || die "could not create temp file" -vars=$(export -p) -echo "$vars" | sed -n "s/^export \([A-Za-z0-9_]*\)\{1,\}=[\"']\{0,1\}\([^\"'=]*\)[\"']\{0,1\}$/s=@\1@=\2=g/g p" >"$tmpfile" -sed -f "$tmpfile" <"$1" >"$2" -rm -f "$tmpfile" -