aboutsummaryrefslogtreecommitdiffstats
path: root/approve.sh
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-04-15 09:51:56 +0000
committerMichael Scherer <misc@mageia.org>2011-04-15 09:51:56 +0000
commitea388c15bdfa4b0fd76d65eada265db1e01ef88b (patch)
treef0ef49fee3828081cc80ad942be92ded566377b6 /approve.sh
parent80d4b06ce610b77671a57b5116d44752e046be5d (diff)
downloadiurt-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-xapprove.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/approve.sh b/approve.sh
index 8358965..30498e1 100755
--- a/approve.sh
+++ b/approve.sh
@@ -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() {