diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-01 12:16:52 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-01 12:16:52 +0000 |
commit | db54bbfb42b07362ac8fa441d745c4028b73456a (patch) | |
tree | 762e99c3593b438cefedbf753a71fada5ebabda7 /Make-dist | |
parent | 8a958cd23f3877012d555444e79e6b2c47763387 (diff) | |
download | glibc-db54bbfb42b07362ac8fa441d745c4028b73456a.tar glibc-db54bbfb42b07362ac8fa441d745c4028b73456a.tar.gz glibc-db54bbfb42b07362ac8fa441d745c4028b73456a.tar.bz2 glibc-db54bbfb42b07362ac8fa441d745c4028b73456a.zip |
(dist): Resolve `..' in file names.
2000-08-01 Andreas Schwab <schwab@suse.de>
* Make-dist (dist): Resolve `..' in file names.
Diffstat (limited to 'Make-dist')
-rw-r--r-- | Make-dist | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -166,7 +166,9 @@ dist: $(..)$(tardir) $(+tardeps) @cd ..; if test -f dist.tar; then c=u; else c=c; fi; \ $(+cmdecho) "cd ..; tar $${c}h$(verbose)f dist.tar ..."; \ tar $${c}h$(verbose)f dist.tar \ - $(addprefix $(tardir)/$(subdir)/,$(filter-out $<,$^)) + $(addprefix $(tardir)/$(subdir)/,$(filter-out $< ../%,$^)) \ + $(addprefix $(tardir)/,\ + $(patsubst ../%,%,$(filter-out $<,$(filter ../%,$^)))) else # Parent makefile. |