fixed for loop on initialization

This commit is contained in:
delta 2021-09-01 00:38:54 +08:00
parent b04d3be756
commit 6601b0ef35

View file

@ -15,9 +15,9 @@ cd ..
# Check for EASYREPO_SUITES to create symlinks # Check for EASYREPO_SUITES to create symlinks
EASYREPO_SUITES="${EASYREPO_SUITES:-unstable,sid/stable,buster/testing,bullseye}" EASYREPO_SUITES="${EASYREPO_SUITES:-unstable,sid/stable,buster/testing,bullseye}"
for $k in $(echo ${EASYREPO_SUITES} | sed "s/\// /g") for k in $(echo ${EASYREPO_SUITES} | sed "s/\// /g")
do do
g=($(echo $i | sed "s/\,/ /g")) g=($(echo $k | sed "s/\,/ /g"))
reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks ${g[0]} reprepro -V --basedir $BASEDIR --outdir $OUTDIR createsymlinks ${g[0]}
done done