Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rero/rero-ils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d1afba2558e1750ecf535750b2141692db608fbf
Choose a base ref
..
head repository: rero/rero-ils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b2f788ea328ae3ea98567be7ec0f14bb5c4c7c7d
Choose a head ref
Showing with 5 additions and 5 deletions.
  1. +5 −5 scripts/setup
10 changes: 5 additions & 5 deletions scripts/setup
Original file line number Diff line number Diff line change
@@ -19,11 +19,11 @@
DATA_PATH=$(pipenv --where)/data

# Parameters description:
# --CREATE_ITEMS_HOLDINGS_SMALL:
# --create_items_holdings_small:
# used for create only the items and holdings files for the 'small' documents file
# --CREATE_ITEMS_HOLDINGS_BIG:
# --create_items_holdings_big:
# used for create only the items and holdings files for the 'big' documents file
# --DEPLOYMENT:
# --deployment:
# used for deploy the 'big' files

RED='\033[0;31m'
@@ -43,7 +43,7 @@ CREATE_ITEMS_HOLDINGS_SMALL=false
CREATE_ITEMS_HOLDINGS_BIG=false

# options may be followed by one colon to indicate they have a required argument
if ! options=$(getopt -o dsb -l deployement,create_items_holdings_small,create_items_holdings_big -- "$@")
if ! options=$(getopt -o dsb -l deployment,create_items_holdings_small,create_items_holdings_big -- "$@")
then
# something went wrong, getopt will put out an error message for us
exit 1
@@ -52,7 +52,7 @@ fi
while [ $# -gt 0 ]
do
case $1 in
-d|--deployement) DEPLOYMENT=true ;;
-d|--deployment) DEPLOYMENT=true ;;
-s|--create_items_holdings_small) CREATE_ITEMS_HOLDINGS_SMALL=true ;;
-b|--create_items_holdings_big) CREATE_ITEMS_HOLDINGS_BIG=true ;;
(--) shift; break;;