Tidy up a little bit
This commit is contained in:
parent
11d716798d
commit
9eb4fecb6c
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# (c)2006, Laurence Withers. Released under the GNU GPL. See file
|
# (c)2006, Laurence Withers. Released under the GNU GPL. See file
|
||||||
# COPYING for details.
|
# COPYING for details.
|
||||||
|
@ -38,14 +38,14 @@ DEVSCRIPTS="$(pwd)/scripts"
|
||||||
|
|
||||||
|
|
||||||
# Get arguments, include standard functions
|
# Get arguments, include standard functions
|
||||||
source ${TEMPLATE}/scripts/functions.sh || exit 1
|
source "${TEMPLATE}/scripts/functions.sh" || exit 1
|
||||||
DEST_DIR="${DEST_DIR}/${P}"
|
DEST_DIR="${DEST_DIR}/${P}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Ensure that we have our .lwbuildrc set up correctly.
|
# Ensure that we have our .lwbuildrc set up correctly.
|
||||||
LWBUILDRC="~/.lwbuildrc"
|
LWBUILDRC="${HOME}/.lwbuildrc"
|
||||||
if [ ! -e ${LWBUILDRC} ]
|
if [ ! -e "${LWBUILDRC}" ]
|
||||||
then
|
then
|
||||||
echo "You don't have a ${LWBUILDRC}, so I'll create a blank one for you."
|
echo "You don't have a ${LWBUILDRC}, so I'll create a blank one for you."
|
||||||
do_cmd cp skel-.lwbuildrc ${LWBUILDRC}
|
do_cmd cp skel-.lwbuildrc ${LWBUILDRC}
|
||||||
|
|
Loading…
Reference in New Issue