diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2013-01-14 18:18:27 +0100 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2013-01-14 18:18:27 +0100 |
| commit | f7b417723ed6875684b3591845e93ae1f49813d3 (patch) | |
| tree | afa32265ae57c9337f6ad6a34293a810f20faba5 /configure | |
| parent | a4e630c7d94f64af160ffaabf290735b7374c8ec (diff) | |
| download | tinycc-f7b417723ed6875684b3591845e93ae1f49813d3.tar.gz tinycc-f7b417723ed6875684b3591845e93ae1f49813d3.tar.bz2 | |
Fix out-of-tree build with relative path to root
Fix path of Makefile symlinks in a out-of-tree build where the root
directory of the source is given as a relative path.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -506,8 +506,8 @@ if test "$source_path_used" = "yes" ; then # counterpart. case $source_path in /*) dest=$source_path/$f;; - *) dest=`echo "$source_path/$dir/" | sed 's,/\./,/,g;s,[^/]*/,../,g'` - dest=$dest$f;; + *) dest=`echo "$dir/" | sed 's,^\./,,;s,[^/]*/,../,g'` + dest=$dest$source_path/$f;; esac ln -sf $dest $f done |
