From 301753af1d972ee95a53e3d73093856187674f3b Mon Sep 17 00:00:00 2001 From: stablestud Date: Thu, 24 May 2018 01:32:07 +0200 Subject: [PATCH] Fixed clean.sh --- LICENSE | 0 README.md | 0 TODO.md | 0 misc/clean.sh | 16 ++++++++-------- 4 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 LICENSE mode change 100755 => 100644 README.md mode change 100755 => 100644 TODO.md diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 diff --git a/TODO.md b/TODO.md old mode 100755 new mode 100644 diff --git a/misc/clean.sh b/misc/clean.sh index ff4b905..6dffb16 100755 --- a/misc/clean.sh +++ b/misc/clean.sh @@ -4,22 +4,22 @@ readonly source_dir_path="$(cd "$(dirname "${0}")"/.. && pwd)" echo "Cleaning ${source_dir_path} ..." -if [ -f "${source_dir_path}/../adsorber.conf" ]; then - rm "${source_dir_path}/../adsorber.conf" -f +if [ -f "${source_dir_path}/adsorber.conf" ]; then + rm "${source_dir_path}/adsorber.conf" -f echo "Removed adsorber.conf" fi -if [ -f "${source_dir_path}/../whitelist" ]; then - rm "${source_dir_path}/../whitelist" -f +if [ -f "${source_dir_path}/whitelist" ]; then + rm "${source_dir_path}/whitelist" -f echo "Removed whitelist" fi -if [ -f "${source_dir_path}/../blacklist" ]; then - rm "${source_dir_path}/../blacklist" -f +if [ -f "${source_dir_path}/blacklist" ]; then + rm "${source_dir_path}/blacklist" -f echo "Removed blacklist" fi -if [ -f "${source_dir_path}/../sources.list" ]; then - rm "${source_dir_path}/../sources.list" -f +if [ -f "${source_dir_path}/sources.list" ]; then + rm "${source_dir_path}/sources.list" -f echo "Removed sources.list" fi