[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] byhand-ftpsync: Use correct target variable



---
 scripts/debian/byhand-ftpsync | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/debian/byhand-ftpsync b/scripts/debian/byhand-ftpsync
index 392b953..abb7514 100755
--- a/scripts/debian/byhand-ftpsync
+++ b/scripts/debian/byhand-ftpsync
@@ -85,6 +85,6 @@ echo ${version} > LATEST.VERSION
 for csum in md5sum sha512sum; do
     /usr/bin/${csum} * | grep -v 'sum' > ${csum}
     SIGNINGKEY=2B90D010
-    GNUPGHOME=${GNUPGHOME} gpg --no-options  --batch --no-tty --armour --default-key ${SIGNINGKEY} --clearsign -o "${TARGET}/${csum}.txt" "${TARGET}/${csum}"
-    mv "${TARGET}/${csum}.txt" "${TARGET}/${csum}"
+    GNUPGHOME=${GNUPGHOME} gpg --no-options  --batch --no-tty --armour --default-key ${SIGNINGKEY} --clearsign -o "${target}/${csum}.txt" "${target}/${csum}"
+    mv "${target}/${csum}.txt" "${target}/${csum}"
 done
-- 
2.1.4



Reply to: