Skip to content
Snippets Groups Projects
Commit ee94596d authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard
Browse files

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

Check whether the two input files exists instead of assuming they do.
parent d50fdcdc
No related branches found
No related tags found
No related merge requests found
#!/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..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment