Compare commits
1 Commits
27b95e2fca
...
360718a731
| Author | SHA1 | Date | |
|---|---|---|---|
| 360718a731 |
2
Makefile
2
Makefile
@ -62,11 +62,9 @@ $(DIRS):
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Link .hcl files
|
# Link .hcl files
|
||||||
@echo "Linking .hcl files for $@"
|
|
||||||
find $(LIBRARY_PATH) -name '*.hcl' -exec sh -c 'ln -sf $$PWD/{} $(IMAGES_PATH)/$@/$(SYMLINK_PREFIX)$$(basename {})' \;
|
find $(LIBRARY_PATH) -name '*.hcl' -exec sh -c 'ln -sf $$PWD/{} $(IMAGES_PATH)/$@/$(SYMLINK_PREFIX)$$(basename {})' \;
|
||||||
|
|
||||||
# Link builds
|
# Link builds
|
||||||
@echo "Linking build files for $@"
|
|
||||||
for build in $$(cat $(IMAGES_PATH)/$@/builds); do \
|
for build in $$(cat $(IMAGES_PATH)/$@/builds); do \
|
||||||
ln -sf ../../../../builds/$${build}.pkr.hcl $(IMAGES_PATH)/$@/library_$${build}.build.pkr.hcl; \
|
ln -sf ../../../../builds/$${build}.pkr.hcl $(IMAGES_PATH)/$@/library_$${build}.build.pkr.hcl; \
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user