UNPKG

339 Bapplication/x-shView Raw
1#!/bin/bash
2
3cd "$(dirname "$0")"
4
5IFS=',' read -r -a array <<< $2
6
7for slug in ${array[@]}
8do
9 # couchbackup --url $1 --db $slug > $(dirname "$(pwd)")/tmp/backup/$slug.backup
10
11 # node update-entities $1 $slug
12 # node update-files $1 $slug
13 # node update-ecom $1 $slug
14 node ../design $1 entity $slug
15 node update-index $1 $slug
16done
\No newline at end of file