Merge cleanup
This commit is contained in:
parent
49948dd637
commit
0d6f7e0ca0
13
dev/merge.sh
13
dev/merge.sh
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## MERGE 2018100203
|
||||
## MERGE 2018100204
|
||||
|
||||
## Merges ofunctions.sh and n_program.sh into program.sh
|
||||
## Adds installer
|
||||
|
@ -26,12 +26,6 @@ function __PREPROCESSOR_Merge {
|
|||
VERSION=${VERSION#*=}
|
||||
__PREPROCESSOR_Constants
|
||||
|
||||
source "ofunctions.sh"
|
||||
if [ $? != 0 ]; then
|
||||
echo "Please run $0 in dev directory with ofunctions.sh"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
__PREPROCESSOR_Unexpand "n_$nPROGRAM.sh" "debug_$nPROGRAM.sh"
|
||||
|
||||
for subset in "${__PREPROCESSOR_SUBSETS[@]}"; do
|
||||
|
@ -194,6 +188,11 @@ function __PREPROCESSOR_CopyCommons {
|
|||
|
||||
# If sourced don't do anything
|
||||
if [ "$(basename $0)" == "merge.sh" ]; then
|
||||
source "./ofunctions.sh"
|
||||
if [ $? != 0 ]; then
|
||||
echo "Please run $0 in dev directory with ofunctions.sh"
|
||||
exit 1
|
||||
fi
|
||||
trap GenericTrapQuit TERM EXIT HUP QUIT
|
||||
|
||||
if [ "$1" == "osync" ]; then
|
||||
|
|
Loading…
Reference in New Issue