Lines Matching refs:path
102 char path[PATH_MAX];
117 (void) sprintf(path, "%s/install/i.%s", instdir,
119 if (access(path, R_OK) == 0) {
120 (void) sprintf(path, "%s/i.%s", pkgbin,
122 cl_Classes[i]->inst_script = qstrdup(path);
126 (void) sprintf(path, "%s/i.%s", PKGSCR, cl_nam(i));
127 if (access(path, R_OK) == 0) {
128 cl_Classes[i]->inst_script = qstrdup(path);
143 (void) sprintf(path, "%s/%s", PKGSCR, DEF_NONE_SCR);
151 if (access(path, R_OK) == 0) {
153 qstrdup(path);
164 (void) sprintf(path, "%s/install/r.%s", instdir,
166 if (access(path, R_OK) == 0) {
167 (void) sprintf(path, "%s/r.%s", pkgbin,
169 cl_Classes[i]->rem_script = qstrdup(path);
173 (void) sprintf(path, "%s/r.%s", PKGSCR, cl_nam(i));
174 if (access(path, R_OK) == 0) {
175 cl_Classes[i]->rem_script = qstrdup(path);