This is actually a /bin/sh script, /bin/bash is not needed.

Check whether the two input files exists instead of assuming they do.
oldstable
Gerald Pfeifer 2003-10-03 03:34:29 +00:00 committed by Alexandre Julliard
parent d50fdcdc04
commit ee94596da3
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/sh
# This script is the receipe to generate the key that have to be created like
# if an applicaiton was installed by its installer. It processes using a
# if an application was installed by its installer. It processes using a
# registry based on the picture of the registry before the application is
# installed and the picture of the registry after the application is installed.
#
@ -31,6 +31,9 @@ if [ $# -ne 2 ]; then
exit 1
fi
if [ ! -f $1 ]; then echo "$1 does not exist."; exit 1; fi
if [ ! -f $2 ]; then echo "$2 does not exist."; exit 1; fi
echo "Assuming that $1 is the \"before\" file..."
echo "Assuming that $2 is the \"after\" file..."