--- /usr/share/exploitdb/searchsploit.orig 2016-09-08 07:23:45.000000000 +0800 +++ /usr/share/exploitdb/searchsploit 2016-09-08 07:57:45.660073914 +0800 @@ -12,7 +12,7 @@ ## OS settings (get the path of where the script is stored + database file) -gitpath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +gitpath=`dirname $(readlink -f $0)` csvpath="${gitpath}/files.csv"