This file is indexed.

/usr/share/mk/svn_checkout.mk is in ros-mk 1.13.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ifeq ($(strip $(SVN_CMDLINE)),)
SVN_CMDLINE = svn
endif

$(SVN_DIR):
	$(SVN_CMDLINE) co $(SVN_REVISION) $(SVN_URL) $(SVN_DIR)
ifneq ($(strip $(SVN_PATCH)),)
	$(foreach patch,$(SVN_PATCH), patch -d $(SVN_DIR) -p0 < $(patch);)
endif
	-if test -z "$(SVN_REVISION)" -o "x$(SVN_REVISION)" != "x-r `svn info $(SVN_DIR) | grep Revision | cut -d " " -f 2,2`"; then \
	  cd $(SVN_DIR) && $(SVN_CMDLINE) up $(SVN_REVISION); \
        fi
	touch rospack_nosubdirs
	touch patched

SVN_UP: $(SVN_DIR)

# Note that 'svn revert' can't use the --non-interactive option, so we
# invoke 'svn' directly, instead of calling $(SVN_CMDLINE)
patched: $(SVN_PATCH) Makefile
ifneq ($(strip $(SVN_PATCH)),)
	svn revert -R $(SVN_DIR)
endif
	-cd $(SVN_DIR) && $(SVN_CMDLINE) up $(SVN_REVISION)
	$(foreach PATCH, $(SVN_PATCH), patch -d $(SVN_DIR) -p0 < $(PATCH) && ) echo patched
	touch rospack_nosubdirs
	touch patched

SVN_UP_REVERT_PATCH: $(SVN_DIR) patched
	 
download: SVN_UP