minor fixes
This commit is contained in:
parent
a86ffc08f9
commit
bfdadaea4b
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
name = backbit
|
name = backbit
|
||||||
root = "-o root -g root"
|
root = -o root -g root
|
||||||
|
|
||||||
all:
|
all:
|
||||||
echo "Program is compiled, run 'make install'"
|
echo "Program is compiled, run 'make install'"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z $1 -o ! -d $1 ]
|
confDir=/etc/backbit
|
||||||
|
|
||||||
|
if [ ! -z $1 -a -d $1 ]
|
||||||
then
|
then
|
||||||
confDir=/etc/backbit
|
|
||||||
else
|
|
||||||
confDir=$1
|
confDir=$1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue