Home
last modified time | relevance | path

Searched refs:pkgloc_sav (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c66 extern char pkgloc_sav[];
344 if (pkgloc_sav[0] && !access(pkgloc_sav, F_OK)) { in quit()
347 if (rename(pkgloc_sav, pkgloc) == -1) { in quit()
349 pkgloc_sav, pkgloc); in quit()
353 if (pkgloc_sav[0] && !access(pkgloc_sav, F_OK)) { in quit()
354 echoDebug(DBG_QUIT_REMOVING_PKGSAV, pkgloc_sav); in quit()
355 (void) rrmdir(pkgloc_sav); in quit()
H A Dmain.c139 char pkgloc_sav[PATH_MAX]; variable
2295 (void) snprintf(pkgloc_sav, sizeof (pkgloc_sav), in mv_pkgdirs()
2298 if (pkgloc_sav[0] && !access(pkgloc_sav, F_OK)) { in mv_pkgdirs()
2299 (void) rrmdir(pkgloc_sav); in mv_pkgdirs()
2302 if (rename(pkgloc, pkgloc_sav) == -1) { in mv_pkgdirs()
2303 progerr(ERR_PKGBINREN, pkgloc, pkgloc_sav); in mv_pkgdirs()
2633 (void) snprintf(pkgloc_sav, sizeof (pkgloc_sav), "%s/.save.%s", in cp_pkgdirs()
2642 "/usr/bin/cp", "cp", "-r", pkgloc, pkgloc_sav, in cp_pkgdirs()
2646 progerr(ERR_PKGBINCP, pkgloc, pkgloc_sav); in cp_pkgdirs()
H A Dcheck.c55 tmpdir[], pkgloc[], pkgloc_sav[], pkgbin[], pkgsav[],