+debhelper (0.30) unstable; urgency=low
+
+ * dh_md5sumes, dh_installdirs, dh_compress: fixed assorted cd bugs.
+
+ -- Joey Hess <joeyh@master.debian.org> Fri, 5 Dec 1997 15:08:36 -0500
+
debhelper (0.29) unstable; urgency=low
* dh_lib: don't expand text passed to doit() a second time. This fixes
# Run the file name gatering commands from within the directory
# structure that will be effected.
olddir=`pwd`
- cd $TMP
+ doit "cd $TMP"
- if [ -f ../${EXT}compress ]; then
+ if [ -f $olddir/${EXT}compress ]; then
# The config file is a sh script that outputs the files to be compressed
# (typically using find).
- files=`sh ../${EXT}compress 2>/dev/null`
+ files=`sh $olddir/${EXT}compress 2>/dev/null`
else
# By default fall back on what the policy manual says to compress.
files=`
find usr/doc -type f \( -size +4k -or -name "changelog*" \) \
! -name "*.htm*" ! -name "*.gif" \
! -name "copyright" 2>/dev/null
- `
+ `
fi
if [ "$files" ]; then
fi
# Change back to old pwd.
- cd $olddir
+ doit "cd $olddir"
# Fix up symlinks that were pointing to the uncompressed files.
for file in `find $TMP -type l`; do
fi
done
# Create dirs.
+ olddir=`pwd`
doit "cd $TMP"
doit "install -d $dirs"
- doit "cd ../.."
+ doit "cd $olddir"
fi
done
.B dh_installinit
.I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-n] [-r] [-d] [-u params]"
.SH "DESCRIPTION"
-dh_installmenu is a debhelper program that is responsible for installing
+dh_installinit is a debhelper program that is responsible for installing
init scripts into package build directories.
.P
It also automatically generates the postinst and postrm and prerm commands
complex_doit "sort $TMP/DEBIAN/conffiles | comm -13 - $TMP/DEBIAN/allfiles > $TMP/DEBIAN/allfiles.new"
doit "mv $TMP/DEBIAN/allfiles.new $TMP/DEBIAN/allfiles"
fi
- complex_doit "cd $TMP ; sed 's:^/::' < DEBIAN/allfiles | xargs md5sum > DEBIAN/md5sums ; cd ../.."
+ olddir=`pwd`
+ complex_doit "cd $TMP ; sed 's:^/::' < DEBIAN/allfiles | xargs md5sum > DEBIAN/md5sums ; cd $olddir"
doit "chown root.root $TMP/DEBIAN/md5sums"
doit "rm -f $TMP/DEBIAN/allfiles"
done