From 4162d7d8278ea673684c19d818e38aa76ec9605a Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 19 Oct 2011 20:41:41 +0200 Subject: [PATCH] use $SLICE from env.sh --- remove-user.sh | 2 +- test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/remove-user.sh b/remove-user.sh index ff3fa2a..1b683e0 100755 --- a/remove-user.sh +++ b/remove-user.sh @@ -15,4 +15,4 @@ if dir=`grep ":$email:" $passwd | cut -d: -f6` ; then grep -v ":$email:" $passwd > $passwd.new && mv $passwd.new $passwd fi -find /test/s1/md5/ -links 1 -exec rm -fv {} \; +find $SLICE/md5/ -links 1 -exec rm -fv {} \; diff --git a/test.sh b/test.sh index 175e9ed..1d924cf 100755 --- a/test.sh +++ b/test.sh @@ -124,7 +124,7 @@ pull fi # skip tests -find /test/s1/2001/ -type f | grep -v '/\.' | xargs md5sum | sort > /tmp/test/1 +find $SLICE/2001/ -type f | grep -v '/\.' | xargs md5sum | sort > /tmp/test/1 FULL=1 $base_dir/user-md5sum.pl u2001 | sort > /tmp/test/2 diff /tmp/test/1 /tmp/test/2 && echo "OK - md5 database consistant with filesystem" -- 2.20.1