]> git.ipfire.org Git - pakfire.git/commitdiff
patch: Fix weird problem with multiple arguments.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Dec 2011 21:07:54 +0000 (22:07 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Dec 2011 21:07:54 +0000 (22:07 +0100)
scripts/patch

index 6c4e9aa3df1e85d24630bb40c5eabcb7e72640a5..dd8f2b9a219a089813c6e5beea3a9915ec59c1cb 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Script that automatically applies patches.
 
-if [ -n "$@" ]; then
+if [ -n "${1}" ]; then
        echo "Applying patches..."
 fi