pentoo-overlay/app-exploits/exploitdb/files/exploitdb_path_issue44.patch
2016-09-08 09:35:35 +08:00

11 lines
386 B
Diff

--- /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"