diff options
author | Tharre <tharre3@gmail.com> | 2014-12-22 22:44:45 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2014-12-22 22:44:45 +0100 |
commit | 0d6ebe73691b4f4f4039dcaaf468d27b5cc777c6 (patch) | |
tree | 13947bfc4505e54926f50164ce805d32e2ae0641 /out | |
parent | 6347f449fe1b48e59f18327bbdcce60b2883f86e (diff) | |
download | redo-0d6ebe73691b4f4f4039dcaaf468d27b5cc777c6.tar.gz redo-0d6ebe73691b4f4f4039dcaaf468d27b5cc777c6.tar.xz redo-0d6ebe73691b4f4f4039dcaaf468d27b5cc777c6.zip |
Fix scripts to honor paths with spaces
Diffstat (limited to 'out')
-rw-r--r-- | out/CC.do | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ redo-ifchange config.sh exec >$3 cat <<-EOF - redo-ifchange \$SRCDIR/\$2.c - temp=\$($CC $CFLAGS -MD -MF /dev/fd/1 -o \$3 -c \$SRCDIR/\$2.c) + redo-ifchange "\$SRCDIR/\$2.c" + temp=\$($CC $CFLAGS -MD -MF /dev/fd/1 -o \$3 -c "\$SRCDIR/\$2.c") echo \$temp | sed 's/^[^:]*://g' | sed 's/ \\\\//g' | xargs redo-ifchange EOF chmod +x $3 |