summaryrefslogtreecommitdiff
path: root/dh_md5sums
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:37:25 +0000
committerjoey <joey>1999-08-17 04:37:25 +0000
commit1c596507129a7022904405114e2bced37ace1cd7 (patch)
tree544fe77bab29538057a5a186e0512dc5aada7ae4 /dh_md5sums
parentffe38a05c38d561ff59df28ed52363cf4b578f9c (diff)
downloaddebhelper-1c596507129a7022904405114e2bced37ace1cd7.tar.gz
r24: Initial Import
Diffstat (limited to 'dh_md5sums')
-rwxr-xr-xdh_md5sums10
1 files changed, 3 insertions, 7 deletions
diff --git a/dh_md5sums b/dh_md5sums
index f71ab529..5278ed51 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -13,17 +13,13 @@ for PACKAGE in $DH_DOPACKAGES; do
doit "install -d $TMP/DEBIAN"
fi
- # Doit isn't smart enough to hande this next command so echo by hand. (sigh)
- verbose_echo 'find $TMP/* -type f ! -regex "^$TMP/DEBIAN/.*" | sed s:$TMP/:: | sort > $TMP/DEBIAN/allfiles'
- find $TMP/* -type f ! -regex "^$TMP/DEBIAN/.*" | sed s:$TMP:: | sort > $TMP/DEBIAN/allfiles
+ doit "find $TMP/* -type f ! -regex '^$TMP/DEBIAN/.*' | sed s:$TMP:: | sort > $TMP/DEBIAN/allfiles"
# Check if we should exclude conffiles.
if [ ! "$DH_EXCLUDE" -a -r $TMP/DEBIAN/conffiles ]; then
- verbose_echo "sort $TMP/DEBIAN/conffiles | comm -13 - $TMP/DEBIAN/allfiles > $TMP/DEBIAN/allfiles.new"
- sort $TMP/DEBIAN/conffiles | comm -13 - $TMP/DEBIAN/allfiles > $TMP/DEBIAN/allfiles.new
+ doit "sort $TMP/DEBIAN/conffiles | comm -13 - $TMP/DEBIAN/allfiles > $TMP/DEBIAN/allfiles.new"
doit "mv $TMP/DEBIAN/allfiles.new $TMP/DEBIAN/allfiles"
fi
- verbose_echo "cd $TMP ; sed 's:^/::' < DEBIAN/allfiles | xargs md5sum > DEBIAN/md5sums ; cd ../.."
- cd $TMP ; sed 's:^/::' < DEBIAN/allfiles | xargs md5sum > DEBIAN/md5sums ; cd ../..
+ doit "cd $TMP ; sed 's:^/::' < DEBIAN/allfiles | xargs md5sum > DEBIAN/md5sums ; cd ../.."
doit "chown root.root $TMP/DEBIAN/md5sums"
doit "rm -f $TMP/DEBIAN/allfiles"
done