aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/cygwin_tools/vc
diff options
context:
space:
mode:
authorU-KRAKEN\pan <[email protected]>2010-06-08 12:39:54 +0200
committerPatrik Nyblom <[email protected]>2010-06-08 15:08:36 +0200
commit487ce4a4982956c0241bce7a15464d8874c26ad6 (patch)
tree690b19b721e2cac7a43af1cb4ed8555c5ab6d95f /erts/etc/win32/cygwin_tools/vc
parenta4262e22384b108c5c1c39d0b6c1b4dfdbe12730 (diff)
downloadotp-487ce4a4982956c0241bce7a15464d8874c26ad6.tar.gz
otp-487ce4a4982956c0241bce7a15464d8874c26ad6.tar.bz2
otp-487ce4a4982956c0241bce7a15464d8874c26ad6.zip
Teach rc.sh to use tail -n +2 instead of tail +2
Diffstat (limited to 'erts/etc/win32/cygwin_tools/vc')
-rwxr-xr-xerts/etc/win32/cygwin_tools/vc/rc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/win32/cygwin_tools/vc/rc.sh b/erts/etc/win32/cygwin_tools/vc/rc.sh
index 6a6921c49e..5f5e84f89e 100755
--- a/erts/etc/win32/cygwin_tools/vc/rc.sh
+++ b/erts/etc/win32/cygwin_tools/vc/rc.sh
@@ -80,7 +80,7 @@ if [ "X$RC_SH_DEBUG_LOG" != "X" ]; then
fi
eval $RCC "$CMD" >/tmp/rc.exe.${p}.1 2>/tmp/rc.exe.${p}.2
RES=$?
-tail +2 /tmp/rc.exe.${p}.2 >&2
+tail -n +2 /tmp/rc.exe.${p}.2 >&2
cat /tmp/rc.exe.${p}.1
rm -f /tmp/rc.exe.${p}.2 /tmp/rc.exe.${p}.1
exit $RES