diff options
author | jbj <devnull@localhost> | 2001-11-24 15:36:50 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-24 15:36:50 +0000 |
commit | 82a945940d6ab360f5d6f7e7c80e145a08e8a0a3 (patch) | |
tree | a7db165fc5456ec989c9c04b3a12118bab402977 /scripts/brp-compress | |
parent | e98018b4d8730a80b2d320e6393f9129b2d13770 (diff) | |
download | librpm-tizen-82a945940d6ab360f5d6f7e7c80e145a08e8a0a3.tar.gz librpm-tizen-82a945940d6ab360f5d6f7e7c80e145a08e8a0a3.tar.bz2 librpm-tizen-82a945940d6ab360f5d6f7e7c80e145a08e8a0a3.zip |
- protect brp-compress against /bin/ls output ambiguity (#56656,#56336).
CVS patchset: 5208
CVS date: 2001/11/24 15:36:50
Diffstat (limited to 'scripts/brp-compress')
-rwxr-xr-x | scripts/brp-compress | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/brp-compress b/scripts/brp-compress index de955b875..897a7657b 100755 --- a/scripts/brp-compress +++ b/scripts/brp-compress @@ -48,7 +48,7 @@ do for f in `find $d -type l` do - l=`ls -l $f | awk '{ print $11 }' | sed -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.Z$//'` + l=`ls -l $f | sed -e 's/.* -> //' -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.Z$//'` rm -f $f b=`echo $f | sed -e 's/\.gz$//' -e 's/\.bz2$//' -e 's/\.Z$//'` ln -sf $l$COMPRESS_EXT $b$COMPRESS_EXT |