summaryrefslogtreecommitdiffstats
path: root/builddebianpackage
diff options
context:
space:
mode:
authorFelix Endres2006-12-13 18:09:05 +0100
committerFelix Endres2006-12-13 18:09:05 +0100
commit2f8ff619e754f4f58c02db14fd24f8cadef87d36 (patch)
tree36254e6f64ee40a97a5b7d00a5804eaa5b5e87f9 /builddebianpackage
parentrunvmware xdialog write to stdout. kdmrc template established + (diff)
downloadcore-2f8ff619e754f4f58c02db14fd24f8cadef87d36.tar.gz
core-2f8ff619e754f4f58c02db14fd24f8cadef87d36.tar.xz
core-2f8ff619e754f4f58c02db14fd24f8cadef87d36.zip
Bugfix: Some references were still pointing to the temporary installation directory
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@532 95ad53e4-c205-0410-b2fa-d234c58c8868
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