Browse Source

sde-check-package: enhanced to recompile bin/versionsort if the .c got touched

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
5a264b180b
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      bin/sde-check-package

+ 3
- 2
bin/sde-check-package

@ -146,8 +146,9 @@ mkdir -p "$cachedir" || exit $?
# compile vsersionsort is missing
#
versionsort="$SDEROOT/bin/versionsort"
if [ ! -x "$versionsort" ]; then
gcc -o "$versionsort" -Os -W -Wall "$SDEROOT/src/tools-source/versionsort.c" || exit $?
versionsort_c="$SDEROOT/src/tools-source/versionsort.c"
if [ "$versionsort_c" -nt "$versionsort" ]; then
gcc -o "$versionsort" -Os -W -Wall "$versionsort_c" || exit $?
fi
for x in $pkgs; do

Loading…
Cancel
Save