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 ]
|
|
||||||
then
|
|
||||||
confDir=/etc/backbit
|
confDir=/etc/backbit
|
||||||
else
|
|
||||||
|
if [ ! -z $1 -a -d $1 ]
|
||||||
|
then
|
||||||
confDir=$1
|
confDir=$1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue