Update create_fork.sh
Updated create_fork.sh to account for the CalculateAverage class name change
This commit is contained in:
parent
b93b128cb8
commit
09e0311e09
@ -76,8 +76,8 @@ cp -i calculate_average_$SOURCE_FORK.sh calculate_average_$FORK.sh
|
|||||||
substitute_in_file $SOURCE_FORK $FORK calculate_average_$FORK.sh
|
substitute_in_file $SOURCE_FORK $FORK calculate_average_$FORK.sh
|
||||||
|
|
||||||
if [ $SOURCE_FORK == "baseline" ]; then
|
if [ $SOURCE_FORK == "baseline" ]; then
|
||||||
cp -i src/main/java/dev/morling/onebrc/CalculateAverage.java src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
cp -i src/main/java/dev/morling/onebrc/CalculateAverage_baseline.java src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
||||||
substitute_in_file CalculateAverage CalculateAverage_$FORK src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
substitute_in_file CalculateAverage_baseline CalculateAverage_$FORK src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
||||||
else
|
else
|
||||||
cp -i src/main/java/dev/morling/onebrc/CalculateAverage_$SOURCE_FORK.java src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
cp -i src/main/java/dev/morling/onebrc/CalculateAverage_$SOURCE_FORK.java src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
||||||
substitute_in_file $SOURCE_FORK $FORK src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
substitute_in_file $SOURCE_FORK $FORK src/main/java/dev/morling/onebrc/CalculateAverage_$FORK.java
|
||||||
|
Loading…
Reference in New Issue
Block a user