aboutsummaryrefslogtreecommitdiffhomepage
path: root/common/hooks/post-install/06-strip-and-debug-pkgs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common/hooks/post-install/06-strip-and-debug-pkgs.sh')
-rw-r--r--common/hooks/post-install/06-strip-and-debug-pkgs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hooks/post-install/06-strip-and-debug-pkgs.sh b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
index 2cec68412c5..191c025e552 100644
--- a/common/hooks/post-install/06-strip-and-debug-pkgs.sh
+++ b/common/hooks/post-install/06-strip-and-debug-pkgs.sh
@@ -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