From: Jan-Benedict G. <jb...@us...> - 2005-04-14 21:33:21
|
Update of /cvsroot/linux-vax/toolchain/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25739 Modified Files: generate_and_apply_upstream_patches.sh generate_upstream_patches.sh Log Message: - Add check for an externally defined variable. Index: generate_and_apply_upstream_patches.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/generate_and_apply_upstream_patches.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- generate_and_apply_upstream_patches.sh 14 Apr 2005 21:30:37 -0000 1.1 +++ generate_and_apply_upstream_patches.sh 14 Apr 2005 21:33:10 -0000 1.2 @@ -6,6 +6,10 @@ echo "\$UPSTREAM_SANDBOXES_PATH isn't set--please source vax_toolchain_config" >&2 exit 1 fi +if [ ! -d "${UPSTREAM_PATCHES_PATH}" ]; then + echo "\$UPSTREAM_PATCHES_PATH isn't set--please source vax_toolchain_config" >&2 + exit 1 +fi NOW="`date -u '+%Y%m%d-%H%M%S'`" Index: generate_upstream_patches.sh =================================================================== RCS file: /cvsroot/linux-vax/toolchain/scripts/generate_upstream_patches.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- generate_upstream_patches.sh 14 Apr 2005 21:27:43 -0000 1.2 +++ generate_upstream_patches.sh 14 Apr 2005 21:33:10 -0000 1.3 @@ -6,6 +6,10 @@ echo "\$UPSTREAM_SANDBOXES_PATH isn't set--please source vax_toolchain_config" >&2 exit 1 fi +if [ ! -d "${UPSTREAM_PATCHES_PATH}" ]; then + echo "\$UPSTREAM_PATCHES_PATH isn't set--please source vax_toolchain_config" >&2 + exit 1 +fi NOW="`date -u '+%Y%m%d-%H%M%S'`" |