summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xbuff-di-wuff2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..568d945
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+downloads.list
diff --git a/buff-di-wuff b/buff-di-wuff
index 35f5f3a..5376bd6 100755
--- a/buff-di-wuff
+++ b/buff-di-wuff
@@ -6,7 +6,7 @@ cache_dir='/srv/arch-mirror/sources.archlinux32'
mkdir -p "${cache_dir}"
-grep '^[^#]' '/etc/buff-di-wuff.list' | \
+grep '^[^#]' "$(dirname "$0")/downloads.list" | \
while read -r url; do
if echo "${url}" | \
grep -q '\*[^/]*$'; then