Commit 97eafec1 authored by 98WuG's avatar 98WuG
Browse files

make script work from any directory

parent d7d810f5
#!/bin/sh
yes | rm backend/downloads/*
DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)"
yes | rm "$DIR"/backend/downloads/*
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment