diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/patch-includes.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/patch-includes.sh b/includes/patch-includes.sh index 0f76409..c09cb81 100644 --- a/includes/patch-includes.sh +++ b/includes/patch-includes.sh @@ -7,7 +7,11 @@ function getpatch { url=$1 - filename=$(basename $url) + if [ $# -gt 1 ]; then + filename="$2" + else + filename=$(basename $url) + fi if [ -f "$PATCHDIR/$filename" ]; then cp "$PATCHDIR/$filename" $TMPDIR || die |