summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2010-02-15 22:50:31 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2010-04-28 18:05:09 +0200
commitc7e3c501f01b6429519e2b8466d6bd8e2f7e22b9 (patch)
tree2532e740b5a099f27f26ac0e8388a8ccfbdc446a
parentcbf6a9877dcbc8478f41d60a55f3fa2bfca63831 (diff)
downloaddbscripts-c7e3c501f01b6429519e2b8466d6bd8e2f7e22b9.tar.gz
dbscripts-c7e3c501f01b6429519e2b8466d6bd8e2f7e22b9.tar.xz
Remove FTP_OS_SUFFIX variable
This isn't needed and if "os" ever changes, we have bigger changes. Won't save us any time and it's longer to type.
-rw-r--r--config1
-rwxr-xr-xmisc-scripts/ftpdir-cleanup2
2 files changed, 1 insertions, 2 deletions
diff --git a/config b/config
index a563f35..57ae64b 100644
--- a/config
+++ b/config
@@ -1,6 +1,5 @@
FTP_BASE="/srv/ftp"
-FTP_OS_SUFFIX="os"
SVNREPO="file:///srv/svn-packages"
diff --git a/misc-scripts/ftpdir-cleanup b/misc-scripts/ftpdir-cleanup
index 1090d57..351c0f4 100755
--- a/misc-scripts/ftpdir-cleanup
+++ b/misc-scripts/ftpdir-cleanup
@@ -26,7 +26,7 @@ trap cleanup 15
${CLEANUP_DRYRUN} && echo 'dry run mode is active'
-ftppath_base="$FTP_BASE/$reponame/$FTP_OS_SUFFIX"
+ftppath_base="$FTP_BASE/$reponame/os"
for arch in ${ARCHES[@]}; do