aboutsummaryrefslogtreecommitdiffstats
path: root/approve.sh
diff options
context:
space:
mode:
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() {