nostrip_files: allow full path
The option `nostrip_files` takes a filename without path, in contrast to option `nopie_files` which takes only full path. This commit makes it so that `nostrip_files` can take either the filename or the full path.
This commit is contained in:
@@ -72,7 +72,7 @@ hook() {
|
||||
|
||||
fname=${f##*/}
|
||||
for x in ${nostrip_files}; do
|
||||
if [ "$x" = "$fname" ]; then
|
||||
if [ "$x" = "$fname" -o "$x" = "${f#$PKGDESTDIR}" ]; then
|
||||
found=1
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user