aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-11 00:39:06 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-11 00:39:06 +0000
commit54a2ae37289a54b612b84fd402804acf4f78e6e9 (patch)
tree15dfb69bfbf233075f01733806ea35a23c47ced9 /configure
parent36e2dea032df93c841cb7c6c8bc977d96bad33c8 (diff)
downloadffmpeg-54a2ae37289a54b612b84fd402804acf4f78e6e9.tar.gz
configure: use map() function in a couple of places
Originally committed as revision 22444 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index 5d576ec57e..cf582fa519 100755
--- a/configure
+++ b/configure
@@ -2947,12 +2947,8 @@ if enabled source_path_used; then
libpostproc/Makefile
libswscale/Makefile
"
- for dir in $DIRS ; do
- mkdir -p $dir
- done
- for f in $FILES ; do
- $ln_s "$source_path/$f" $f
- done
+ map 'mkdir -p $_' $DIRS;
+ map '$ln_s "$source_path/$_" $_' $FILES
fi
enabled stripping || strip="echo skipping strip"