File: bootstrap

package info (click to toggle)
acsccid 1.1.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,736 kB
  • sloc: ansic: 11,591; sh: 5,972; lex: 244; perl: 97; makefile: 80
file content (26 lines) | stat: -rwxr-xr-x 570 bytes parent folder | download | duplicates (2)
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
#!/bin/sh

find ./ -type d -exec chmod 755 {} \;
find ./ ! -type d -exec chmod 644 {} \;

find ./ -name bootstrap -exec chmod 755 {} \;
find ./ -name configure -exec chmod 755 {} \;
find ./ -name *.pl -exec chmod 755 {} \;

#
# Copy config.rpath to the directory "config".
# This file is needed by iconv.m4.
#
if [ -f /usr/share/gettext/config.rpath ]; then
	if [ ! -d config ]; then
		mkdir config
	fi
	cp /usr/share/gettext/config.rpath config
else
	echo "Please install gettext before running this script."
	exit 1
fi

umask 022
autoreconf -fiv
rm -rf autom4te.cache