From: Michael Tremer Date: Thu, 8 Dec 2011 21:07:54 +0000 (+0100) Subject: patch: Fix weird problem with multiple arguments. X-Git-Tag: 0.9.19~12^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=12603de3d9b1c2df8e147ed04db822709068c098;p=pakfire.git patch: Fix weird problem with multiple arguments. --- diff --git a/scripts/patch b/scripts/patch index 6c4e9aa3d..dd8f2b9a2 100755 --- a/scripts/patch +++ b/scripts/patch @@ -1,7 +1,7 @@ #!/bin/bash # Script that automatically applies patches. -if [ -n "$@" ]; then +if [ -n "${1}" ]; then echo "Applying patches..." fi