Projects
Multimedia
grip
9c91b8.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 9c91b8.patch of Package grip (Revision 8)
Currently displaying revision
8
,
Show latest
From 9c91b83a1035ca41f304d5fe66bb028b87240247 Mon Sep 17 00:00:00 2001 From: "Johnny A. Solbu" <johnny@solbu.net> Date: Wed, 5 Feb 2020 14:31:49 +0100 Subject: [PATCH] Patch from Till Bargheer: fix directory creation --- src/rip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git src/rip.c src/rip.c index dd87ceb..3141759 100644 --- src/rip.c +++ src/rip.c @@ -503,7 +503,7 @@ gboolean CanWrite(char *path) static void MakeDirs(char *path) { - char *dir = g_path_get_basename(path); + char *dir = g_path_get_dirname(path); g_mkdir_with_parents(dir, 0777); g_free(dir); } -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.