diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2003-03-22 11:34:14 +0000 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2003-03-22 11:34:14 +0000 |
commit | a99811be10ebb871f1e458fd3692540efac27106 (patch) | |
tree | 74165b500bc461bccaab425a7fd13493f2532055 /scripts/spec2series.in | |
parent | 4e48fd5a6c8218e491ef3536121aae3c7a157ed6 (diff) | |
download | quilt-a99811be10ebb871f1e458fd3692540efac27106.tar.gz |
- Also substitute @SED@ and @AWK@.
- Some versions of sed don't like '\t'. Expand those in the
shell instead.
Diffstat (limited to 'scripts/spec2series.in')
-rwxr-xr-x | scripts/spec2series.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/spec2series.in b/scripts/spec2series.in index f43a3fb..8d1c0aa 100755 --- a/scripts/spec2series.in +++ b/scripts/spec2series.in @@ -103,7 +103,7 @@ echo $" done" >&2 RPM="rpm --rcfile=/usr/lib/rpm/rpmrc:$WORK/rpmrc" PATH="$WORK/bin:$PATH" grep ^macrofiles /usr/lib/rpm/rpmrc \ - | sed -e "/macrofiles/s|$|:$WORK/rpmmacros|" \ + | @SED@ -e "/macrofiles/s|$|:$WORK/rpmmacros|" \ > $WORK/rpmrc cat <<-EOF > "$WORK/rpmmacros" %_sourcedir $specdir @@ -159,7 +159,7 @@ cat <<-'EOF' > "$WORK/bin/patch" done # print results - unpackdir=`echo $unpackdir | sed -e "s|$RPM_BUILD_DIR|BUILD|"` + unpackdir=`echo $unpackdir | @SED@ -e "s|$RPM_BUILD_DIR|BUILD|"` echo -n "# log: [$unpackdir] $uncompress $unpackfile" >>$WORK/cmdlog echo " | $unpackcmd $unpackargs" >>$WORK/cmdlog if test "$unpackcmd" = "patch" -a \ @@ -205,7 +205,7 @@ echo $" done" >&2 # additional info for trouble shooting if test "$debug" = "1"; then - cat $WORK/md5sum | sed -e 's/^/# md5: /' + cat $WORK/md5sum | @SED@ -e 's/^/# md5: /' echo "#" test -f $WORK/cmdlog && cat $WORK/cmdlog && echo "#" |