-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #243 from legoscia/no-default-sys-config
Rename sys.config to sys.config.orig
- Loading branch information
Showing
3 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
%% -*- erlang -*- | ||
{pre_hooks, | ||
[{generate, | ||
"sh -c 'test -f files/sys.config || (echo " | ||
"\"The configuration file rel/files/sys.config does not exist.\n" | ||
"You can create it in two ways:\n" | ||
"\n" | ||
"1. Either run scripts/config_gen with appropriate arguments\n" | ||
" and save its output in rel/files/sys.config,\n" | ||
"\n" | ||
"2. Or copy rel/files/sys.config.orig to rel/files/sys.config\n" | ||
" and edit it by hand to fit your setup.\n" | ||
"\n" | ||
"Then run \\\"make rel\\\" again.\n\"; exit 1)'" | ||
}]}. |