[Groonga-commit] groonga/groonga [master] apt: follow repositories/ path change

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 25日 (金) 18:18:03 JST


Kouhei Sutou	2012-05-25 18:18:03 +0900 (Fri, 25 May 2012)

  New Revision: 824c4acf67670f293d956012d5d4a080ce07a118

  Log:
    apt: follow repositories/ path change

  Modified files:
    packages/apt/Makefile.am
    packages/apt/sign-packages.sh

  Modified: packages/apt/Makefile.am (+3 -2)
===================================================================
--- packages/apt/Makefile.am    2012-05-25 17:43:54 +0900 (eb21f56)
+++ packages/apt/Makefile.am    2012-05-25 18:18:03 +0900 (a66b837)
@@ -30,10 +30,11 @@ download: ensure-rsync-path
 	done
 
 sign-packages:
-	./sign-packages.sh '$(GPG_UID)' '$(CODES)'
+	./sign-packages.sh '$(GPG_UID)' '$(REPOSITORIES_PATH)/' '$(CODES)'
 
 update-repository:
-	./update-repository.sh '$(PACKAGE_NAME)' '$(ARCHITECTURES)' '$(CODES)'
+	./update-repository.sh '$(PACKAGE_NAME)' '$(REPOSITORIES_PATH)/' \
+	  '$(ARCHITECTURES)' '$(CODES)'
 
 sign-repository:
 	./sign-repository.sh '$(GPG_UID)' '$(CODES)'

  Modified: packages/apt/sign-packages.sh (+6 -5)
===================================================================
--- packages/apt/sign-packages.sh    2012-05-25 17:43:54 +0900 (a45a5af)
+++ packages/apt/sign-packages.sh    2012-05-25 18:18:03 +0900 (d421871)
@@ -2,14 +2,15 @@
 
 script_base_dir=`dirname $0`
 
-if [ $# != 2 ]; then
-    echo "Usage: $0 GPG_UID CODES"
-    echo " e.g.: $0 'F10399C0' 'lenny unstable hardy karmic'"
+if [ $# != 3 ]; then
+    echo "Usage: $0 GPG_UID DESITINATION CODES"
+    echo " e.g.: $0 'F10399C0' repositories/ 'lenny unstable hardy karmic'"
     exit 1
 fi
 
 GPG_UID=$1
-CODES=$2
+DESTINATION=$2
+CODES=$3
 
 run()
 {
@@ -30,7 +31,7 @@ for code_name in ${CODES}; do
 	    ;;
     esac
 
-    base_directory=packages/${distribution}
+    base_directory=${DESTINATION}${distribution}
     debsign --re-sign -k${GPG_UID} \
 	$(find ${base_directory} -name '*.dsc' -or -name '*.changes') &
     if [ "${PARALLEL}" != "yes" ]; then




Groonga-commit メーリングリストの案内
Back to archive index