Commit cf4f4851 authored by simonm's avatar simonm
Browse files

[project @ 1998-01-26 14:37:28 by simonm]

Finally fix the 'for i in ; do ...' problem.
parent b2966fde
......@@ -123,8 +123,8 @@ INSTALL_DATA_OPTS = -m $(LIB_PERMS) $(INSTALL_OPTS) $(EXTRA_INSTALL_DATA_OPTS)
config-pkgs ::
@echo "Configuring $(package), version $(version), on $(platform) ..."
@if test "$(PACKAGE_PRL_SCRIPTS)"; then \
for i in $(PACKAGE_PRL_SCRIPTS); do \
for i in $(PACKAGE_PRL_SCRIPTS) ""; do \
@if test "$(PACKAGE_PRL_SCRIPTS)"; then \
echo "Creating a configured version of $$i .."; \
$(RM) bin/$(platform)/$(package)-$(version)/$$i.bak; \
if [ -f bin/$(platform)/$(package)-$(version)/$$i ]; then $(MV) bin/$(platform)/$(package)-$(version)/$$i bin/$(platform)/$(package)-$(version)/$$i.bak; fi; \
......@@ -138,10 +138,10 @@ config-pkgs ::
cat bin/$(platform)/$(package)-$(version)/$$i.prl >> bin/$(platform)/$(package)-$(version)/$$i ; \
$(CHMOD) $(BIN_PERMS) bin/$(platform)/$(package)-$(version)/$$i; \
echo "Done."; \
done; \
fi
@if test "$(PACKAGE_LIB_PRL_SCRIPTS)"; then \
for i in $(PACKAGE_LIB_PRL_SCRIPTS); do \
fi; \
done
for i in $(PACKAGE_LIB_PRL_SCRIPTS) ""; do \
@if test "$(PACKAGE_LIB_PRL_SCRIPTS)"; then \
echo "Creating a configured version of $$i .."; \
$(RM) lib/$(platform)/$(package)-$(version)/$$i.bak; \
if [ -f lib/$(platform)/$(package)-$(version)/$$i ]; then $(MV) lib/$(platform)/$(package)-$(version)/$$i lib/$(platform)/$(package)-$(version)/$$i.bak; fi; \
......@@ -155,10 +155,10 @@ config-pkgs ::
cat lib/$(platform)/$(package)-$(version)/$$i.prl >> lib/$(platform)/$(package)-$(version)/$$i; \
$(CHMOD) $(BIN_PERMS) lib/$(platform)/$(package)-$(version)/$$i; \
echo "Done."; \
done; \
fi
@if test "$(PACKAGE_SH_SCRIPTS)"; then \
for i in $(PACKAGE_SH_SCRIPTS); do \
fi; \
done
for i in $(PACKAGE_SH_SCRIPTS) ""; do \
@if test "$(PACKAGE_SH_SCRIPTS)"; then \
echo "Creating a configured version of $$i .."; \
$(RM) bin/$(platform)/$(package)-$(version)/$$i.bak; \
if [ -f bin/$(platform)/$(package)-$(version)/$$i ]; then $(MV) bin/$(platform)/$(package)-$(version)/$$i bin/$(platform)/$(package)-$(version)/$$i.bak; fi; \
......@@ -172,8 +172,8 @@ config-pkgs ::
cat bin/$(platform)/$(package)-$(version)/$$i.sh >> bin/$(platform)/$(package)-$(version)/$$i; \
$(CHMOD) $(BIN_PERMS) bin/$(platform)/$(package)-$(version)/$$i; \
echo "Done."; \
done; \
fi
fi; \
done
mk-version-symlinks ::
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment