repo.or.cz
/
hband-tools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix regression
[hband-tools.git]
/
execfuse
/
zeronet
/
check_args
blob
41c7468a91064a4eee5bd5fd052c61549dc302ec
1
#!/bin/bash
2
3
if
[
-n
"
$ZERONET_DATA
"
-a
!
-d
"
$ZERONET_DATA
"
]
4
then
5
echo
"ZERONET_DATA is not a directory."
>&
2
6
exit
1
7
fi
8
9
if
[
-n
"
$ZERONET_URL
"
] && !
expr
"
$ZERONET_URL
"
:
'.*://'
>/
dev
/
null
10
then
11
echo
"ZERONET_URL does not seem to be an url."
>&
2
12
exit
1
13
fi
14