diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-06 00:41:47 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-05-06 00:41:47 +0200 |
commit | feac9cc83037b01d7e7904433086e57056fe0bc4 (patch) | |
tree | 5d3497b8a16b65545d0a41dcd4e4fb08a44db743 | |
parent | 79e7365c6afdd0010cc5b64d63099c673320fe6e (diff) | |
download | dbscripts-feac9cc83037b01d7e7904433086e57056fe0bc4.tar.gz dbscripts-feac9cc83037b01d7e7904433086e57056fe0bc4.tar.xz |
Make the params slightly more clear
Real super minor
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-x | ftpdir-cleanup | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ftpdir-cleanup b/ftpdir-cleanup index 98f6f7c..18e26f2 100755 --- a/ftpdir-cleanup +++ b/ftpdir-cleanup @@ -14,9 +14,12 @@ getpkgname() { echo ${tmp%-*-*} } +reponame=$1 +arch=$2 + FTPBASEDIR="/home/ftp" -FTPDIR=${FTPBASEDIR}/${1}/os/${2} -DBFILE=${FTPDIR}/${1}.db.tar.gz +FTPDIR=${FTPBASEDIR}/$reponame/os/$arch +DBFILE=${FTPDIR}/$reponame.db.tar.gz MISSINGFILES="" DELETEFILES="" |