aboutsummaryrefslogtreecommitdiff
path: root/unix/hlib/util.csh/pkgenv
blob: 9d4b9ada45f8d75156f30298c1aed66517512ecc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/csh -f
#
#  PKGENV -- Initialize the package environment


/bin/rm -f .installed .zzsetenv.def

foreach p ( `cat .repo_pkgs` )

    if (-e $p/.installed) then
	cat $p/.installed 		>> .installed
	echo "reset  $p	= $cwd/$p/"	>> .zzsetenv.def
    endif
end
echo "keep"				>> .zzsetenv.def