Create an 'update.sh' script skeleton, and update usage messages.
This commit is contained in:
parent
151f748a40
commit
939b7201dc
|
@ -15,10 +15,10 @@
|
||||||
# Sanity checks
|
# Sanity checks
|
||||||
if [ $# -ne 2 ]
|
if [ $# -ne 2 ]
|
||||||
then
|
then
|
||||||
echo "Wrong number of arguments. Expecting:"
|
echo "Creates a new project using lw-build-system."
|
||||||
echo " ./install.sh <dest_dir> @P@ "
|
echo "Usage: $0 path/to/projects @P@"
|
||||||
echo " dest_dir directory in which project subdir will be created"
|
echo " path/to/projects directory in which project subdir will be created"
|
||||||
echo " @P@ package name)"
|
echo " @P@ package name"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue