projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee2838
)
test_gnunet_gns.sh.in: fix
author
ng0
<ng0@n0.is>
Mon, 25 Nov 2019 22:45:48 +0000
(22:45 +0000)
committer
ng0
<ng0@n0.is>
Mon, 25 Nov 2019 22:45:48 +0000
(22:45 +0000)
src/gns/test_gnunet_gns.sh.in
patch
|
blob
|
history
diff --git
a/src/gns/test_gnunet_gns.sh.in
b/src/gns/test_gnunet_gns.sh.in
index 1c149b1416efadea30f36a4da77c1686251531ce..66bed051640dfdd40dfe1bf34bad42b7839fe1d9 100755
(executable)
--- a/
src/gns/test_gnunet_gns.sh.in
+++ b/
src/gns/test_gnunet_gns.sh.in
@@
-6,7
+6,14
@@
# if test -z "`which fooble`"; then echo 1; fi
# The command builtin might not work with busybox's ash
# but this works for now.
-. @pkgdatadir@/existence.sh
+dir=$(dirname "$0")
+
+if test -e @pkgdatadir@/existence.sh
+then
+ . @pkgdatadir@/existence.sh
+else
+ . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
+fi
LOCATION=`existence gnunet-config`
if test -z $LOCATION; then