diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-06 00:21:49 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-06 00:21:49 +0000 |
commit | bc59e1cdde6b0892a1595ae1cbeb04370e8c9c30 (patch) | |
tree | 1ab8ba3508284385587424d441ffc6a7a3211b0a | |
parent | ed469812a10e5a19cffb742cbf63f81495134d39 (diff) |
Quote arguments to cp so we can handle spaces in our paths.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146555 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | utils/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/utils/Makefile b/utils/Makefile index e7a8a0188..89c624dc8 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -91,38 +91,38 @@ stereorize: stereorize.o frame.o stereorize: LIBS+=-lm hashtab.c: $(ASTTOPDIR)/main/hashtab.c - @cp $< $@ + @cp "$<" "$@" hashtab.o: ASTCFLAGS+=-DSTANDALONE strcompat.c: $(ASTTOPDIR)/main/strcompat.c - @cp $< $@ + @cp "$<" "$@" strcompat.o: ASTCFLAGS+=-DSTANDALONE pval.c: $(ASTTOPDIR)/res/ael/pval.c - @cp $< $@ + @cp "$<" "$@" pval.o : ASTCFLAGS+=-DSTANDALONE ast_expr2.c: $(ASTTOPDIR)/main/ast_expr2.c - @cp $< $@ + @cp "$<" "$@" ast_expr2.o: ASTCFLAGS+=-DSTANDALONE ast_expr2f.c: $(ASTTOPDIR)/main/ast_expr2f.c - @cp $< $@ + @cp "$<" "$@" ast_expr2f.o: ASTCFLAGS+=-DSTANDALONE -I$(ASTTOPDIR)/main -Wno-unused check_expr: check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o check_expr.o: ASTCFLAGS+=-DSTANDALONE aelbison.c: $(ASTTOPDIR)/res/ael/ael.tab.c - @cp $< $@ + @cp "$<" "$@" aelbison.o: ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0 -DSTANDALONE pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c - @cp $< $@ + @cp "$<" "$@" pbx_ael.o: ASTCFLAGS+=-DSTANDALONE aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c - @cp $< $@ + @cp "$<" "$@" ael_main.o: ASTCFLAGS+=-DSTANDALONE @@ -130,19 +130,19 @@ aelparse.o: ASTCFLAGS+=-I$(ASTTOPDIR)/res -DSTANDALONE -Wno-unused aelparse: aelparse.o aelbison.o pbx_ael.o hashtab.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o pval.o extconf.o astobj2.c: $(ASTTOPDIR)/main/astobj2.c - @cp $< $@ + @cp "$<" "$@" astobj2.o: ASTCFLAGS+=-DSTANDALONE utils.c: $(ASTTOPDIR)/main/utils.c - @cp $< $@ + @cp "$<" "$@" utils.o: ASTCFLAGS+=-DSTANDALONE sha1.c: $(ASTTOPDIR)/main/sha1.c - @cp $< $@ + @cp "$<" "$@" sha1.o: ASTCFLAGS+=-DSTANDALONE threadstorage.c: $(ASTTOPDIR)/main/threadstorage.c - @cp $< $@ + @cp "$<" "$@" threadstorage.o: ASTCFLAGS+=-DSTANDALONE hashtest2.o: ASTCFLAGS+=-O0 -DSTANDALONE |