]>
git.ipfire.org Git - people/trikolon/ipfire-2.x.git/blob - tools/make-functions
04b6941d27fa22c6bcaa9b7681ca1afd85082a3d
2 ############################################################################
4 # Beautifying variables & presentation & input output interface
6 ############################################################################
9 # Find current screen size
10 if [ -z "${COLUMNS}" ]; then
12 COLUMNS
=${COLUMNS##* }
15 # When using remote connections, such as a serial port, stty size returns 0
16 if [ "${COLUMNS}" = "0" ]; then
20 ## Measurements for positioning result messages
25 RESULT_COL
=$
((${COLUMNS} - $RESULT_WIDTH - 4))
26 TIME_COL
=$
((${RESULT_COL} - $TIME_WIDTH - 5))
27 OPT_COL
=$
((${TIME_COL} - $OPT_WIDTH - 5))
28 VER_COL
=$
((${OPT_COL} - $VER_WIDTH - 5))
30 ## Set Cursur Position Commands, used via echo -e
31 SET_RESULT_COL
="\\033[${RESULT_COL}G"
32 SET_TIME_COL
="\\033[${TIME_COL}G"
33 SET_OPT_COL
="\\033[${OPT_COL}G"
34 SET_VER_COL
="\\033[${VER_COL}G"
36 # Define color for messages
45 if [ "$?" -eq "0" ]; then
52 if [ $EXITCODE -ne "0" ]; then
60 # ARG1=starting position on screen
61 # ARG2=string to be printed
62 # ARG3=offset, negative for left movement, positive for right movement, relative to ARG1
63 # For example if your starting position is column 50 and you want to print Hello three columns to the right
64 # of your starting position, your call will look like this:
65 # position_cursor 50 "Hello" 3 (you'll get the string Hello at position 53 (= 50 + 3)
66 # If on the other hand you want your string "Hello" to end three columns to the left of position 50,
67 # your call will look like this:
68 # position_cursor 50 "Hello" -3 (you'll get the string Hello at position 42 (= 50 - 5 -3)
69 # If you want to start printing at the exact starting location, use offset 0
75 STRING_LENGTH
=${#STRING}
77 if [ ${OFFSET} -lt 0 ]; then
78 COL
=$
((${START} + ${OFFSET} - ${STRING_LENGTH}))
80 COL
=$
((${START} + ${OFFSET}))
83 SET_COL
="\\033[${COL}G"
86 } # End of position_cursor()
91 # Commands: build_stage, make_pkg, message, result
96 echo -ne "${SET_RESULT_COL}[${DONE} DONE ${NORMAL}]\n"
99 echo -ne "${WARN}${3}${NORMAL}${SET_RESULT_COL}[${WARN} WARN ${NORMAL}]\n"
102 echo -ne "${SET_RESULT_COL}[${FAIL} FAIL ${NORMAL}]\n"
105 echo -ne "${SET_RESULT_COL}[${SKIP} SKIP ${NORMAL}]\n"
111 if [ "$STAGE_TIME_START" ]; then
112 LAST_STAGE_TIME
=$
[ `date +%s` - $STAGE_TIME_START ]
114 STAGE_TIME_START
=`date +%s`
115 echo -ne "${BOLD}*** ${MESSAGE}${NORMAL}"
116 if [ "$LAST_STAGE_TIME" ]; then
117 echo -ne "${DONE} (Last stage took $LAST_STAGE_TIME secs)${NORMAL}"
119 echo -ne "${BOLD}${SET_VER_COL} version${SET_OPT_COL} options${SET_TIME_COL} time (sec)${SET_RESULT_COL} status${NORMAL}\n"
122 BUILD_TIME_START
=`date +%s`
125 BUILD_TIME_END
=`date +%s`
126 echo -ne "${DONE}***Build is finished now and took $[ $BUILD_TIME_END - $BUILD_TIME_START ] secs!${NORMAL}\n"
129 echo "$2" |
while read PKG_VER PROGRAM OPTIONS
131 SET_VER_COL_REAL
=`position_cursor $OPT_COL $PKG_VER -3`
133 if [ "$OPTIONS" == "" ]; then
134 echo -ne "${PROGRAM}${SET_VER_COL}[ ${BOLD}${SET_VER_COL_REAL}${PKG_VER}"
135 echo -ne "${NORMAL} ]${SET_RESULT_COL}"
137 echo -ne "${PROGRAM}${SET_VER_COL}[ ${BOLD}${SET_VER_COL_REAL}${PKG_VER}"
138 echo -ne "${NORMAL} ]${SET_OPT_COL}[ ${BOLD}${OPTIONS}"
139 echo -ne "${NORMAL} ]${SET_RESULT_COL}"
152 SET_TIME_COL_REAL
=`position_cursor $RESULT_COL $PKG_TIME -3`
155 echo -ne "${SET_TIME_COL}[ ${BOLD}${SET_TIME_COL_REAL}$PKG_TIME${NORMAL} ]"
156 echo -ne "${SET_RESULT_COL}[${DONE} DONE ${NORMAL}]\n"
159 echo -ne "${SET_TIME_COL}[ ${BOLD}${SET_TIME_COL_REAL}$PKG_TIME${NORMAL} ]"
160 echo -ne "${SET_RESULT_COL}[${FAIL} FAIL ${NORMAL}]\n"
163 echo -ne "${SET_TIME_COL}[ ${BOLD}${SET_TIME_COL_REAL}$PKG_TIME${NORMAL} ]"
164 echo -ne "${SET_RESULT_COL}[${SKIP} SKIP ${NORMAL}]\n"
169 } # End of beautify()
174 PKG_VER
=`grep ^VER $1 | awk '{print $3}'`
176 if [ -z $PKG_VER ]; then
177 PKG_VER
=`grep "Exp " $1 | awk '{print $4}'`
180 if [ ${#PKG_VER} -gt $VER_WIDTH ]; then
181 # If a package version number is greater than $VER_WIDTH, we keep the first 4 characters
182 # and replace enough characters to fit the resulting string on the screen. We'll replace
183 # the extra character with .. (two dots). That's why the "+ 2" in the formula below.
184 # Example: if we have a 21-long version number that we want to fit into a 10-long space,
185 # we have to remove 11 characters. But if we replace 11 characters with 2 characters, we'll
186 # end up with a 12-character long string. That's why we replace 12 characters with ..
187 REMOVE
=`expr substr "$PKG_VER" 4 $[ ${#PKG_VER} - $VER_WIDTH + 2 ]`
188 PKG_VER
=`echo ${PKG_VER/$REMOVE/..}`
192 } # End of get_pkg_ver()
194 if [ 'x86_64' = $MACHINE -o 'i686' = $MACHINE -o 'i586' = $MACHINE ]; then
195 echo "`date -u '+%b %e %T'`: Machine is iX86 (or equivalent)" >> $LOGFILE
197 BUILDTARGET
=i586-pc-linux-gnu
198 CFLAGS
="-O2 -march=i586 -pipe -fomit-frame-pointer"
199 CXXFLAGS
="-O2 -march=i586 -pipe -fomit-frame-pointer"
200 C2FLAGS
="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer"
201 CXX2FLAGS
="-O2 -march=i586 -mtune=i586 -pipe -fomit-frame-pointer"
203 echo "`date -u '+%b %e %T'`: Can't determine your architecture - $MACHINE" >> $LOGFILE
209 umount
$BASEDIR/build
/sys
2>/dev
/null
;
210 umount
$BASEDIR/build
/dev
/shm
2>/dev
/null
;
211 umount
$BASEDIR/build
/dev
/pts
2>/dev
/null
;
212 umount
$BASEDIR/build
/dev
2>/dev
/null
;
213 umount
$BASEDIR/build
/proc
2>/dev
/null
;
214 umount
$BASEDIR/build
/install
/mnt
2>/dev
/null
;
215 umount
$BASEDIR/build
/usr
/src
/cache
2>/dev
/null
;
216 umount
$BASEDIR/build
/usr
/src
/ccache
2>/dev
/null
;
217 umount
$BASEDIR/build
/usr
/src
/config
2>/dev
/null
;
218 umount
$BASEDIR/build
/usr
/src
/doc
2>/dev
/null
;
219 umount
$BASEDIR/build
/usr
/src
/html
2>/dev
/null
;
220 umount
$BASEDIR/build
/usr
/src
/langs
2>/dev
/null
;
221 umount
$BASEDIR/build
/usr
/src
/lfs
2>/dev
/null
;
222 umount
$BASEDIR/build
/usr
/src
/log
2>/dev
/null
;
223 umount
$BASEDIR/build
/usr
/src
/src
2>/dev
/null
;
228 for i
in `seq 0 7`; do
229 if ( losetup
/dev
/loop
${i} 2>/dev
/null |
grep -q "/install/images" ); then
230 losetup
-d /dev
/loop
${i} 2>/dev
/null
233 echo -e "\nERROR: $*"
234 echo " Check $LOGFILE for errors if applicable"
239 if [ ! -e $BASEDIR/build
/usr
/src
/lfs
/ ]; then
240 exiterror
"No such file or directory: $BASEDIR/build/usr/src/lfs/"
242 echo "Entering to a shell inside LFS chroot, go out with exit"
243 chroot
$LFS /tools
/bin
/env
-i HOME
=/root TERM
=$TERM PS1
='\u:\w\$ ' \
244 PATH
=/usr
/local
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin
:/tools
/bin \
245 VERSION
=$VERSION CONFIG_ROOT
=$CONFIG_ROOT \
246 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
247 CFLAGS
="$CF2LAGS" CXXFLAGS
="$CXX2FLAGS" \
248 CCACHE_DIR
=/usr
/src
/ccache \
251 BUILDTARGET
="$BUILDTARGET" MACHINE
="$MACHINE" \
252 KGCC
="ccache /usr/bin/gcc" \
254 if [ $?
-ne 0 ]; then
255 beautify message FAIL
256 exiterror
"chroot error"
262 ############################################################################
264 # Necessary shell functions #
266 ############################################################################
268 # Common checking before entering the chroot and compilling
270 # Return:0 caller can continue
271 # :1 skip (nothing to do)
272 # or fail if no script file found
277 if [ ! -f $BASEDIR/lfs
/$1 ]; then
278 exiterror
"No such file or directory: $BASEDIR/$1"
281 local PKG_VER
=`get_pkg_ver $BASEDIR/lfs/$1`
282 beautify make_pkg
"$PKG_VER $*"
286 for i
in $SKIP_PACKAGE_LIST
288 if [ "$i" == "$1" ]; then
294 echo -ne "`date -u '+%b %e %T'`: Building $* " >> $LOGFILE
296 cd $BASEDIR/lfs
&& make -s -f $
* LFS_BASEDIR
=$BASEDIR MESSAGE
="$1\t " download
>> $LOGFILE 2>&1
297 if [ $?
-ne 0 ]; then
298 exiterror
"Download error in $1"
301 cd $BASEDIR/lfs
&& make -s -f $
* LFS_BASEDIR
=$BASEDIR MESSAGE
="$1\t md5sum" md5
>> $LOGFILE 2>&1
302 if [ $?
-ne 0 ]; then
303 exiterror
"md5sum error in $1, check file in cache or signature"
307 } # End of lfsmakecommoncheck()
310 lfsmakecommoncheck $
*
311 [ $?
== 1 ] && return 0
313 local PKG_TIME_START
=`date +%s`
315 cd $BASEDIR/lfs
&& make -f $
* BUILDTARGET
=$BUILDTARGET \
317 LFS_BASEDIR
=$BASEDIR \
320 MAKETUNING
=$MAKETUNING \
321 install >> $LOGFILE 2>&1
322 local COMPILE_SUCCESS
=$?
323 local PKG_TIME_END
=`date +%s`
325 if [ $COMPILE_SUCCESS -ne 0 ]; then
326 beautify result FAIL $
[ $PKG_TIME_END - $PKG_TIME_START ]
327 exiterror
"Building $*";
329 beautify result DONE $
[ $PKG_TIME_END - $PKG_TIME_START ]
336 lfsmakecommoncheck $
*
337 [ $?
== 1 ] && return 0
339 local PKG_TIME_START
=`date +%s`
340 chroot
$LFS /tools
/bin
/env
-i HOME
=/root \
341 TERM
=$TERM PS1
='\u:\w\$ ' \
342 PATH
=/usr
/local
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin
:/tools
/bin \
344 CONFIG_ROOT
=$CONFIG_ROOT \
345 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
346 CFLAGS
="$C2FLAGS" CXXFLAGS
="$CXX2FLAGS" \
347 CCACHE_DIR
=/usr
/src
/ccache CCACHE_HASHDIR
=1 \
348 KVER
=$KVER MAKETUNING
=$MAKETUNING \
349 BUILDTARGET
="$BUILDTARGET" MACHINE
="$MACHINE" \
351 /tools
/bin
/bash
-x -c "cd /usr/src/lfs && \
352 make -f $* LFS_BASEDIR=/usr/src install" >>$LOGFILE 2>&1
353 local COMPILE_SUCCESS
=$?
354 local PKG_TIME_END
=`date +%s`
356 if [ $COMPILE_SUCCESS -ne 0 ]; then
357 beautify result FAIL $
[ $PKG_TIME_END - $PKG_TIME_START ]
358 exiterror
"Building $*";
360 beautify result DONE $
[ $PKG_TIME_END - $PKG_TIME_START ]
367 lfsmakecommoncheck $
*
368 [ $?
== 1 ] && return 0
370 local PKG_TIME_START
=`date +%s`
371 chroot
$LFS /tools
/bin
/env
-i HOME
=/root \
372 TERM
=$TERM PS1
='\u:\w\$ ' \
373 PATH
=/usr
/local
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin \
375 CONFIG_ROOT
=$CONFIG_ROOT \
376 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
377 CFLAGS
="$C2FLAGS" CXXFLAGS
="$CXX2FLAGS" \
378 CCACHE_DIR
=/usr
/src
/ccache CCACHE_HASHDIR
=1 \
379 KVER
=$KVER MAKETUNING
=$MAKETUNING \
380 BUILDTARGET
="$BUILDTARGET" MACHINE
="$MACHINE" \
382 /bin
/bash
-x -c "cd /usr/src/lfs && \
383 make -f $* LFS_BASEDIR=/usr/src install" >>$LOGFILE 2>&1
385 local COMPILE_SUCCESS
=$?
386 local PKG_TIME_END
=`date +%s`
388 if [ $COMPILE_SUCCESS -ne 0 ]; then
389 beautify result FAIL $
[ $PKG_TIME_END - $PKG_TIME_START ]
390 exiterror
"Building $*";
392 beautify result DONE $
[ $PKG_TIME_END - $PKG_TIME_START ]
398 if [ -f $BASEDIR/build
/usr
/src
/lfs
/$1 ]; then
399 echo "`date -u '+%b %e %T'`: Packaging $1" |
tee -a $LOGFILE
400 chroot
$LFS /tools
/bin
/env
-i HOME
=/root \
401 TERM
=$TERM PS1
='\u:\w\$ ' \
402 PATH
=/usr
/local
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin \
404 CONFIG_ROOT
=$CONFIG_ROOT \
405 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
406 CFLAGS
="$C2FLAGS" CXXFLAGS
="$CXX2FLAGS" \
407 CCACHE_DIR
=/usr
/src
/ccache CCACHE_HASHDIR
=1 \
408 KVER
=$KVER IPFVER
="$IPFVER" \
409 BUILDTARGET
="$BUILDTARGET" MACHINE
="$MACHINE" \
410 /bin
/bash
-x -c "cd /usr/src/lfs && \
411 make -f $1 LFS_BASEDIR=/usr/src dist" >>$LOGFILE 2>&1
412 if [ $?
-ne 0 ]; then
413 exiterror
"Packaging $1"
416 exiterror
"No such file or directory: $BASEDIR/build/usr/src/lfs/$1"
422 lfsmakecommoncheck $
*
423 [ $?
== 1 ] && return 0
425 local PKG_TIME_START
=`date +%s`
426 chroot
$LFS /tools
/bin
/env
-i HOME
=/root \
427 TERM
=$TERM PS1
='\u:\w\$ ' \
428 PATH
=/opt
/i586-uClibc
/i586-linux-uclibc
/bin
:/opt
/i586-uClibc
/bin
:/usr
/local
/bin
:/bin
:/usr
/bin
:/sbin
:/usr
/sbin \
430 CONFIG_ROOT
=$CONFIG_ROOT \
432 NAME
="$NAME" SNAME
="$SNAME" SLOGAN
="$SLOGAN" \
433 CFLAGS
="-Os" CXXFLAGS
="-Os" \
434 CCACHE_DIR
=/usr
/src
/ccache CCACHE_HASHDIR
=1 \
435 KVER
=$KVER IPFVER
="$IPFVER" \
436 BUILDTARGET
="$BUILDTARGET" MACHINE
="$MACHINE" \
437 /bin
/bash
-x -c "cd /usr/src/lfs && \
438 make -f $* LFS_BASEDIR=/usr/src install" >>$LOGFILE 2>&1
440 local COMPILE_SUCCESS
=$?
441 local PKG_TIME_END
=`date +%s`
443 if [ $COMPILE_SUCCESS -ne 0 ]; then
444 beautify result FAIL $
[ $PKG_TIME_END - $PKG_TIME_START ]
445 exiterror
"Building $*";
447 beautify result DONE $
[ $PKG_TIME_END - $PKG_TIME_START ]
453 tar cfz log
/ipfire-logs-
`date +'%Y-%m-%d-%H:%M'`.tgz log
/_build.
*
458 echo -ne "${BOLD}***This is our auto buildscript! Have fun...${NORMAL}\n"
462 if [ "$IPFIRE_REBUILD" -eq "0" ]; then
463 export IPFIRE_START_TIME
=`date`
466 echo "### RUNNING SVN-UPDATE"
468 evaluate
1 mail_me SVNUPDATE
470 echo "### EXPORT SOURCES"
472 evaluate
1 mail_me SVNDIST
475 echo "### RUNNING BUILD"
477 evaluate
1 mail_me ERROR
479 # echo "### UPLOADING ISO"
481 # evaluate 1 mail_me ISO
483 # echo -ne "### UPLOADING PAKS"
485 # evaluate 1 mail_me PAKS
487 echo -ne "${BOLD}***SUCCESS!${NORMAL}"
493 echo -e "${BOLD}Exit with Ctrl+A, Ctrl+D.${NORMAL}"
499 chmod 755 tools
/sendEmail
500 ATTACHMENT
=/tmp
/ipfire-build-logs-R
$SVN_REVISION.
tar.gz
503 SUBJECT
="SUCCESS: IPFIRE-BUILD R$SVN_REVISION on `hostname`"
504 cat <<END > /tmp/ipfire_mail_body
505 Building IPFire on `hostname` in Revision $SVN_REVISION was successfull!
506 You can find the ISO on your ftp server if you told the script where it is.
510 Started: $IPFIRE_START_TIME
514 Your IPFire-Build-Script
517 echo -ne "${BOLD}***Sending success message${NORMAL}"
520 SUBJECT
="ERROR $1: IPFIRE-BUILD R$SVN_REVISION on `hostname`"
521 cat <<END > /tmp/ipfire_mail_body
522 When I was building IPFire on `hostname`, I have found an ERROR with name $1!
523 Here you can see the logs and detect the reason for this error.
526 Your IPFire-Build-Script
529 Here is a summary... The full logs are in the attachment.
530 ---------------------------------------------------------
534 echo -ne "${BOLD}***Sending error message${NORMAL}"
537 tar cfz
$ATTACHMENT log
/_build
*
538 cat /tmp
/ipfire_mail_body | tools
/sendEmail
-q \
545 -l log
/_build.
mail.log \
547 if [ "$?" -eq "0" ]; then
548 beautify message DONE
550 beautify message FAIL
552 rm -f /tmp
/ipfire_mail_body
$ATTACHMENT
557 echo -e "${BOLD}***This will create your configuration...${NORMAL}"
558 echo -ne "***If your are ready press <ENTER>!"
561 echo -ne "***The buildscript will create a full iso image.\n"
562 echo -ne "***If you want to skip any package please enter its name here seperated with space.\n"
563 echo -ne "Actually in the list are: $SKIP_PACKAGE_LIST\n"
564 echo -ne "Do you want to change this? (y/N) "
566 if [ "$YESNO" == "y" ]; then
567 echo -ne "Please type: "
568 read SKIP_PACKAGE_LIST
569 echo -ne "You entered: $SKIP_PACKAGE_LIST\n"
573 echo -ne "***When you have compiled successfully, there is the possibility\n"
574 echo -ne "***to upload the iso image to a ftp server.\n"
575 echo -ne "***If the url is empty there will be no upload.\n"
576 echo -ne "Actually there is: $FTP_ISO_URL\n"
577 echo -ne "Do you want to change this? (y/N) "
579 if [ "$YESNO" == "y" ]; then
580 echo -ne "Please type the url: "
582 echo -ne "Please type the path: "
584 echo -ne "Please type the username: "
586 echo -ne "Please type the password (hidden): "
592 echo -ne "***When you add some new software you can easyly\n"
593 echo -ne "***upload the source code to our repository server.\n"
594 echo -ne "***If the url is empty there will be no upload.\n"
595 echo -ne "Actually there is: $FTP_CACHE_URL\n"
596 echo -ne "Do you want to change this? (y/N) "
598 if [ "$YESNO" == "y" ]; then
599 echo -ne "Please type the url: "
601 echo -ne "Please type the path: "
603 echo -ne "Please type the username: "
605 echo -ne "Please type the password (hidden): "
606 read -s FTP_CACHE_PASS
611 echo -ne "***If there are some important messages you\n"
612 echo -ne "***can get a notification mail.\n"
613 echo -ne "***Please type one ore more email adresses (seperated by comma).\n"
614 echo -ne "Actually there is: $MAIL_TO\n"
615 echo -ne "Do you want to change this? (y/N) "
617 if [ "$YESNO" == "y" ]; then
618 echo -ne "Please type: "
620 echo -ne "You should enter a mail server to login...\n"
621 echo -ne "Please type the url: "
623 echo -ne "Please type the username: "
625 echo -ne "Please type the password (hidden): "
629 echo -ne "\n${BOLD}***Saving...${NORMAL}"
630 cat <<END > $BASEDIR/.config
632 FTP_ISO_URL=$FTP_ISO_URL
633 FTP_ISO_PATH=$FTP_ISO_PATH
634 FTP_ISO_USER=$FTP_ISO_USER
635 FTP_ISO_PASS=$FTP_ISO_PASS
637 FTP_CACHE_URL=$FTP_CACHE_URL
638 FTP_CACHE_PATH=$FTP_CACHE_PATH
639 FTP_CACHE_USER=$FTP_CACHE_USER
640 FTP_CACHE_PASS=$FTP_CACHE_PASS
643 MAIL_SERVER=$MAIL_SERVER
647 SKIP_PACKAGE_LIST="$SKIP_PACKAGE_LIST"
649 beautify message DONE
654 tar xvfz
$BASEDIR/cache
/tftp-hpa-0.42.
tar.gz
-C $BASEDIR/tmp
655 cd $BASEDIR/tmp
/tftp-hpa-
*
656 .
/configure
--prefix=/ipfire
/trunk
/tools
/ \
657 --sbindir=/ipfire
/trunk
/tools
/ --disable-nls
659 install -c tftpd
/tftpd
$BASEDIR/tools
/in.tftpd
661 rm -rf $BASEDIR/tmp
/tftp-hpa-
*
665 if [ ! -e $BASEDIR/tools
/in.tftpd
]; then
669 if [ "$?" == "0" ]; then
670 $BASEDIR/tools
/in.tftpd
-l -s $BASEDIR/tftpboot
671 beautify message DONE
673 echo -en "You don not have a pxe boot image in your base directory.\nPlease compile first."
674 beautify message FAIL
680 echo -n "Stopping TFTPD..."
681 killall
in.tftpd
>/dev
/null
2>&1
683 killall
-9 in.tftp
>/dev
/null
2>&1
684 beautify message DONE
688 if [ -e $BASEDIR/ipfire-
$VERSION.
$MACHINE-pxe.tgz
]; then
689 mkdir
-p $BASEDIR/tftpboot
690 tar xfz
$BASEDIR/ipfire-
$VERSION.
$MACHINE-pxe.tgz
-C $BASEDIR/tftpboot
697 echo -ne "Checking the translations for missing or obsolete strings..."
698 chmod 755 $BASEDIR/tools
/{check_strings.pl
,sort_strings.pl
}
699 $BASEDIR/tools
/sort_strings.pl en
700 $BASEDIR/tools
/sort_strings.pl de
701 $BASEDIR/tools
/check_strings.pl en
> $BASEDIR/doc
/language_issues.en
702 $BASEDIR/tools
/check_strings.pl de
> $BASEDIR/doc
/language_issues.de
703 $BASEDIR/tools
/check_langs.sh
> $BASEDIR/doc
/language_missings
704 beautify message DONE