diff options
author | Michael Scherer <misc@mageia.org> | 2011-04-15 09:51:56 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-04-15 09:51:56 +0000 |
commit | ea388c15bdfa4b0fd76d65eada265db1e01ef88b (patch) | |
tree | f0ef49fee3828081cc80ad942be92ded566377b6 /approve.sh | |
parent | 80d4b06ce610b77671a57b5116d44752e046be5d (diff) | |
download | iurt-ea388c15bdfa4b0fd76d65eada265db1e01ef88b.tar iurt-ea388c15bdfa4b0fd76d65eada265db1e01ef88b.tar.gz iurt-ea388c15bdfa4b0fd76d65eada265db1e01ef88b.tar.bz2 iurt-ea388c15bdfa4b0fd76d65eada265db1e01ef88b.tar.xz iurt-ea388c15bdfa4b0fd76d65eada265db1e01ef88b.zip |
- factorize the path of directory
Diffstat (limited to 'approve.sh')
-rwxr-xr-x | approve.sh | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,10 +1,11 @@ #!/bin/bash -e # Do not use trailing slashes here -SRCBASEDIR=/home/mandrake/uploads/queue -DESTBASEDIR=/home/mandrake/uploads/approved -REJECTEDDIR=/home/mandrake/uploads/rejected -LATERBASEDIR=/home/mandrake/uploads/later +UPLOADSDIR=/home/mandrake/uploads +SRCBASEDIR=$UPLOADSDIR/queue +DESTBASEDIR=$UPLOADSDIR/approved +REJECTEDDIR=$UPLOADSDIR/rejected +LATERBASEDIR=$UPLOADSDIR/later DISTRO=cooker function list() { |