summaryrefslogtreecommitdiffstats
path: root/builddebianpackage
diff options
context:
space:
mode:
Diffstat (limited to 'builddebianpackage')
-rwxr-xr-xbuilddebianpackage4
1 files changed, 4 insertions, 0 deletions
diff --git a/builddebianpackage b/builddebianpackage
index c3b71a2a..bf7696c6 100755
--- a/builddebianpackage
+++ b/builddebianpackage
@@ -99,6 +99,10 @@ if make install; then
# For every link set the corresponding target with stripped prefix
ln -sf ${link#*_SEPARATOR_} ${link%_SEPARATOR_*}
done;
+ #Correct location references in mkdxsinitrd:
+ for file in `grep -l --recursive /tmp/ld$$ /tmp/ld$$/* 2>/dev/null`; do
+ sed -i 's#/tmp/ld[0-9]*##' $file
+ done;
#Create the package
dpkg-deb --build /tmp/ld$$ > /dev/null