From: Måns Rullgård Date: Thu, 11 Mar 2010 00:39:06 +0000 (+0000) Subject: configure: use map() function in a couple of places X-Git-Tag: v0.6~686 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54a2ae37289a54b612b84fd402804acf4f78e6e9;p=platform%2Fupstream%2Flibav.git configure: use map() function in a couple of places Originally committed as revision 22444 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/configure b/configure index 5d576ec..cf582fa 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"