From 74e347f09bd62872de84b431dcf029090931d199 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Thu, 21 Dec 2006 01:53:40 +0000 Subject: =?UTF-8?q?*=20modeline=20fixes=20/=20reformatting=20*=20formattin?= =?UTF-8?q?g=20/=20indentation=20fixes=20*=20makepkg:=20=20=20=20=20Dan=20?= =?UTF-8?q?McGee=20=20-=20integrity=20check=20fix=20=20?= =?UTF-8?q?=20=20=20J=C3=BCrgen=20H=C3=B6tzel=20=20-?= =?UTF-8?q?=20EUID=20usage=20and=20"x$foo"=20check=20revamp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/abs | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'scripts/abs') diff --git a/scripts/abs b/scripts/abs index 36fe4c04..3d8dd728 100644 --- a/scripts/abs +++ b/scripts/abs @@ -1,5 +1,4 @@ #!/bin/bash -# vim: set ft=sh ts=2 sw=2 [ -f /etc/abs/abs.conf ] && source /etc/abs/abs.conf @@ -15,21 +14,21 @@ usage() { } update() { - cd $ABSROOT - for sup in "${SUPFILES[@]}"; do - if [ "$sup" != "testing" ]; then - if [ "$sup" = "${sup#!}" ]; then - cvsup -L 1 -r 0 -g -b $ABSROOT -c .sup /etc/abs/supfile.$sup - fi - elif [ "$sup" = "testing" ]; then - if [ ! -d /var/abs/testing ]; then - mkdir /var/abs/testing; - fi - cd $ABSROOT/testing - cvsup -L 1 -r 0 -g -b $ABSROOT/testing -c .sup /etc/abs/supfile.testing - cd $ABSROOT - fi - done + cd $ABSROOT + for sup in "${SUPFILES[@]}"; do + if [ "$sup" != "testing" ]; then + if [ "$sup" = "${sup#!}" ]; then + cvsup -L 1 -r 0 -g -b $ABSROOT -c .sup /etc/abs/supfile.$sup + fi + elif [ "$sup" = "testing" ]; then + if [ ! -d /var/abs/testing ]; then + mkdir /var/abs/testing; + fi + cd $ABSROOT/testing + cvsup -L 1 -r 0 -g -b $ABSROOT/testing -c .sup /etc/abs/supfile.testing + cd $ABSROOT + fi + done } @@ -93,4 +92,4 @@ fi update exit 0 -# vim: set ts=2 noet: +# vim: set ts=2 sw=2 noet: -- cgit v1.2.3-2-g168b