mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-23 07:22:53 +00:00
abuild-fetch.c: remove saveas- syntax
This commit is contained in:
parent
3d74cd9e8e
commit
f9132fad76
@ -84,9 +84,6 @@ int fetch(char *url, const char *destdir)
|
|||||||
name = url;
|
name = url;
|
||||||
*p = '\0';
|
*p = '\0';
|
||||||
url = p + 2;
|
url = p + 2;
|
||||||
} else if (strstr(url, "saveas-") == url) {
|
|
||||||
*name++ = '\0';
|
|
||||||
url += 7; /* strlen("saveas-") */
|
|
||||||
} else {
|
} else {
|
||||||
name++;
|
name++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user