Browse Source

correct the applu-protector patch to use $archdir (instead of self-made

archive dir concatenation) and so work for inheritenced packages like
gcc3-cross ...


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@977 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
949596d779
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      package/base/gcc3/apply-protector.sh

+ 1
- 1
package/base/gcc3/apply-protector.sh

@ -3,7 +3,7 @@
pfile=$( echo "$3" | grep protector | tr ' ' '\t' | tr -s '\t' | cut -f2 )
if [ "$pfile" ] ; then
tar --use-compress-program=bzip2 \
-xf $1/download/base/$2/${pfile/.gz/.bz2}
-xf $archdir/${pfile/.gz/.bz2}
# Patch protector.dif a bit to apply against current gcc-3
#[ $2 = gcc3 ] && patch -p1 < $1/package/base/$2/protector-hotfix.diff

Loading…
Cancel
Save