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
|
||||
# COPYING for details.
|
||||
|
@ -38,14 +38,14 @@ DEVSCRIPTS="$(pwd)/scripts"
|
|||
|
||||
|
||||
# Get arguments, include standard functions
|
||||
source ${TEMPLATE}/scripts/functions.sh || exit 1
|
||||
source "${TEMPLATE}/scripts/functions.sh" || exit 1
|
||||
DEST_DIR="${DEST_DIR}/${P}"
|
||||
|
||||
|
||||
|
||||
# Ensure that we have our .lwbuildrc set up correctly.
|
||||
LWBUILDRC="~/.lwbuildrc"
|
||||
if [ ! -e ${LWBUILDRC} ]
|
||||
LWBUILDRC="${HOME}/.lwbuildrc"
|
||||
if [ ! -e "${LWBUILDRC}" ]
|
||||
then
|
||||
echo "You don't have a ${LWBUILDRC}, so I'll create a blank one for you."
|
||||
do_cmd cp skel-.lwbuildrc ${LWBUILDRC}
|
||||
|
|
Loading…
Reference in New Issue