summaryrefslogtreecommitdiffstats
path: root/scripts/gccnewlib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-20 08:53:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-20 08:53:30 +0000
commitee19895ed4533f4ab97cd56ed81aba63a8243f02 (patch)
tree3b1fa5211701dcfe7f4770297e8d24bae9525008 /scripts/gccnewlib
parentRemove bogus comment (diff)
downloadrtems-ee19895ed4533f4ab97cd56ed81aba63a8243f02.tar.bz2
Correct PATCH<N> handling.
Diffstat (limited to 'scripts/gccnewlib')
-rw-r--r--scripts/gccnewlib/mkspec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gccnewlib/mkspec.in b/scripts/gccnewlib/mkspec.in
index 3acd642ecf..b7e64560c8 100644
--- a/scripts/gccnewlib/mkspec.in
+++ b/scripts/gccnewlib/mkspec.in
@@ -16,7 +16,7 @@ usage()
exit 1 ;
}
-specsrc=${RTEMS_DIR}/gccnewlib/gccnewlib.spec.in
+specsrc=./gccnewlib.spec.in
while test $# -ge 2; do
case $1 in
@@ -57,8 +57,8 @@ PATCH1="Patch1: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
fi
# note that the variables in the gccnewlib directory are actually the same
-sed -e "s,@PATCH1\@,${PATCH1}," \
- -e "s,@PATCH3\@,${PATCH3}," \
+sed -e "s,@PATCH0\@,${PATCH0}," \
+ -e "s,@PATCH1\@,${PATCH1}," \
-e "s%@Release\@%${gccnewlib_rpm_release}%g" \
-e "s%@target_alias\@%${target_alias}%g" \
-e "s%@prefix\@%@prefix@%g" \