From 939b7201dcc95c8f7047f0f9d6a34561999a7593 Mon Sep 17 00:00:00 2001 From: Laurence Withers Date: Wed, 26 Jul 2006 19:57:53 +0100 Subject: [PATCH] Create an 'update.sh' script skeleton, and update usage messages. --- create.sh | 8 ++++---- update.sh | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100755 update.sh diff --git a/create.sh b/create.sh index 438bcc3..73e9c08 100755 --- a/create.sh +++ b/create.sh @@ -15,10 +15,10 @@ # Sanity checks if [ $# -ne 2 ] then - echo "Wrong number of arguments. Expecting:" - echo " ./install.sh @P@ " - echo " dest_dir directory in which project subdir will be created" - echo " @P@ package name)" + echo "Creates a new project using lw-build-system." + echo "Usage: $0 path/to/projects @P@" + echo " path/to/projects directory in which project subdir will be created" + echo " @P@ package name" exit 1 fi diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..323a12e --- /dev/null +++ b/update.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# +# (c)2006, Laurence Withers. Released under the GNU GPL. See file +# COPYING for details. +# + +if [ $# -ne 1 ] +then + echo "Updates an existing project to newer lw-build-system files." + echo "Usage: $0 path/to/project/root" + exit 1 +fi + +# kate: replace-trailing-space-save true; space-indent true; tab-width 4; +# vim: expandtab:ts=4:sw=4