Commit 3d8d89cad3302ce2f58644f66eba53d55e68f064

Authored by mj
1 parent 7b79866ceb
Exists in master

[FIX] repos.sh

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -125,7 +125,7 @@ else
125 125 if [ -d "$j" ]; then
126 126 n=${j##*/}
127 127 if [ "$n" != "__unported__" ]; then
128   - if [ -h ${SYMLINKS_PATH}/$n ]; then
  128 + if [ -h "${SYMLINKS_PATH}/$n" ]; then
129 129 printf "symlink exists '${REPO}/$n'\n"
130 130 if [ "$ADD_REMOTE" = "YES" ]; then
131 131 NOT_ADDED_REPOS="$NOT_ADDED_REPOS\n${REPO}/$n"
... ... @@ -134,9 +134,9 @@ else
134 134 printf "create symlink 1: '${REPO}/$n'\n"
135 135 ln -s "../../${PATH_PREFIX}/${REPO}/$n" "${SYMLINKS_PATH}/$n"
136 136 fi
137   - if [ -h ${ADHOC_PATH}/$n ]; then
  137 + if [ -h "${ADHOC_PATH}/$n" ]; then
138 138 printf "delete adhoc\n"
139   - rm ${ADHOC_PATH}/$n
  139 + rm "${ADHOC_PATH}/$n"
140 140 fi
141 141 fi
142 142 fi