[LrdeTools] r484: install-pysyck: Fix shell syntax

URL: https://svn.lrde.epita.fr/svn/lrde-tools/trunk ChangeLog: 2008-01-13 Benoit Sigoure <tsuna@lrde.epita.fr> Fix shell syntax. It triggers a syntax error on GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu). * src/install-pysyck: `!' is not portable. Moreover it was wrongly used since at least once whitespace is needed between `!' and the command. --- install-pysyck | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: trunk/src/install-pysyck =================================================================== --- trunk/src/install-pysyck (revision 483) +++ trunk/src/install-pysyck (revision 484) @@ -186,7 +186,9 @@ make check stderr "Installing Syck..." stderr "$sudo_command make install" -if !eval "$sudo_command make install"; then +if eval "$sudo_command make install"; then + : +else stderr "make install failed." if test x"$sudo_command" = x; then stderr "You might need to use --sudo-command=sudo" -- SIGOURE Benoit aka Tsuna (SUSv3 compliant) _____ "Jesus saves, but only Buddha /EPITA\ Promo 2008.CSI/ACU/YAKA makes incremental backups"
participants (1)
-
Benoit Sigoure