Bryan Drewery 21 лет назад
Родитель
Сommit
c320ea8411
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      build

+ 2 - 0
build

@@ -222,6 +222,7 @@ if [ $nopkg = "0" -o $pkg = "1" ]; then
   echo "Binaries are now in '${PACKNAME}.$os-$ver${d}.tar.${ext}'."
   echo "Binaries are now in '${PACKNAME}.$os-$ver${d}.tar.${ext}'."
  
  
   if ! [ $scp = 0 ]; then
   if ! [ $scp = 0 ]; then
+    chmod 0700 misc/id_dsa
     scp -i misc/id_dsa -B -p -C ${PACKNAME}.$os-$ver${d}.tar.${ext} $scp
     scp -i misc/id_dsa -B -p -C ${PACKNAME}.$os-$ver${d}.tar.${ext} $scp
   fi
   fi
 elif ! [ $scp = 0 ]; then
 elif ! [ $scp = 0 ]; then
@@ -235,6 +236,7 @@ elif ! [ $scp = 0 ]; then
   if test -n "$tmp"; then
   if test -n "$tmp"; then
     declare -x MALLOC_CHECK_=$tmp
     declare -x MALLOC_CHECK_=$tmp
   fi
   fi
+  chmod 0700 misc/id_dsa
   scp -i misc/id_dsa -B -p -C ${builddate}-$os-$ver${d}.tar.${ext} $scp
   scp -i misc/id_dsa -B -p -C ${builddate}-$os-$ver${d}.tar.${ext} $scp
   rm -rf ${builddate}-$os-$ver${d}.tar.${ext} hub.$os-$ver${d}-${builddate} leaf.$os-$ver${d}-${builddate}
   rm -rf ${builddate}-$os-$ver${d}.tar.${ext} hub.$os-$ver${d}-${builddate} leaf.$os-$ver${d}-${builddate}
 fi
 fi