Fixed some variables handling. Bugs pointed by Pantelis.
This commit is contained in:
parent
ebd1409432
commit
911fe331ca
1 changed files with 4 additions and 1 deletions
5
jhalfs
5
jhalfs
|
@ -953,6 +953,9 @@ while test $# -gt 0 ; do
|
||||||
test $# = 1 && eval "$exit_missing_arg"
|
test $# = 1 && eval "$exit_missing_arg"
|
||||||
shift
|
shift
|
||||||
BUILDDIR=$1
|
BUILDDIR=$1
|
||||||
|
JHALFSDIR=$BUILDDIR/jhalfs
|
||||||
|
LOGDIR=$JHALFSDIR/logs
|
||||||
|
MKFILE=$JHALFSDIR/Makefile
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--download-client | -D )
|
--download-client | -D )
|
||||||
|
@ -1065,7 +1068,7 @@ fi
|
||||||
|
|
||||||
[[ ! -d $JHALFSDIR ]] && mkdir -pv $JHALFSDIR
|
[[ ! -d $JHALFSDIR ]] && mkdir -pv $JHALFSDIR
|
||||||
[[ "$PWD" != "$JHALFSDIR" ]] && cp -v $FILES $JHALFSDIR/ && \
|
[[ "$PWD" != "$JHALFSDIR" ]] && cp -v $FILES $JHALFSDIR/ && \
|
||||||
sed -e 's/FAKEDIR/'$BOOK'/' $XSL > $JHALFSDIR/dump-lfs-scripts.xsl && \
|
sed -e 's,FAKEDIR,'$BOOK',' $XSL > $JHALFSDIR/dump-lfs-scripts.xsl && \
|
||||||
export XSL=$JHALFSDIR/dump-lfs-scripts.xsl
|
export XSL=$JHALFSDIR/dump-lfs-scripts.xsl
|
||||||
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
|
[[ ! -d $LOGDIR ]] && mkdir -v $LOGDIR
|
||||||
>$LOGDIR/$LOG
|
>$LOGDIR/$LOG
|
||||||
|
|
Reference in a new issue