Tidy up a little bit

This commit is contained in:
Laurence Withers 2007-08-14 13:34:41 +00:00
parent 11d716798d
commit 9eb4fecb6c
1 changed files with 4 additions and 4 deletions

View File

@ -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}