mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 01:19:52 +02:00
🚧 qurator_data_lib.sh: Do not hardcode data/
This commit is contained in:
parent
58282c9e95
commit
c92b10b984
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ annex_get() {
|
|||
file_pattern="$1"
|
||||
|
||||
(
|
||||
cd data
|
||||
cd $DATA_SUBDIR
|
||||
git annex get $file_pattern
|
||||
|
||||
# fsck seems to be necessary to fix the files if we're in a submodule
|
||||
|
@ -39,7 +39,7 @@ download_to() {
|
|||
unpack_to="$2"
|
||||
|
||||
(
|
||||
cd data
|
||||
cd $DATA_SUBDIR
|
||||
tmpf=`mktemp 'tmp.XXXXX'`
|
||||
wget -O $tmpf "$download_source"
|
||||
mkdir -p "$unpack_to"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue