Francis GASCHET [ARCHIVE] on Nostr: π
Original date posted:2014-11-03 π Original message:Hello, I just compiled ...
π
Original date posted:2014-11-03
π Original message:Hello,
I just compiled bitCoin core on Debian 7.
I got an error message "too many arguments" when executing genuid.sh
I fixed it as shown hereafter and it worked fine.
pcfg:~/bitcoinCore> diff -u shareOLD/genbuild.sh share/genbuild.sh
--- shareOLD/genbuild.sh 2014-11-03 08:32:08.950708258 +0100
+++ share/genbuild.sh 2014-11-03 08:38:44.626698114 +0100
@@ -16,7 +16,7 @@
DESC=""
SUFFIX=""
LAST_COMMIT_DATE=""
-if [ -e "$(which git 2>/dev/null)" -a $(git rev-parse
--is-inside-work-tree 2>/dev/null) = "true" ]; then
+if [ -e "$(which git 2>/dev/null)" -a "$(git rev-parse
--is-inside-work-tree 2>/dev/null)" = "true" ]; then
# clean 'dirty' status of touched files that haven't been modified
git diff >/dev/null 2>/dev/null
Best regards,
--
Francis
Published at
2023-06-07 15:27:04Event JSON
{
"id": "68e8b55faddd44a91d880a042b7047e5057e323ac4dc5b521bd0b70ff4b5149f",
"pubkey": "41c53a77e8247a9c10e59ead40c76ffc5061965b4248d478da04b088d8454015",
"created_at": 1686151624,
"kind": 1,
"tags": [
[
"e",
"a28e26194365446ef881111affb5fbd535f139b880f2b2d0b8e25d617bcfabfa",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "π
Original date posted:2014-11-03\nπ Original message:Hello,\n\nI just compiled bitCoin core on Debian 7.\nI got an error message \"too many arguments\" when executing genuid.sh\nI fixed it as shown hereafter and it worked fine.\n\n\npcfg:~/bitcoinCore\u003e diff -u shareOLD/genbuild.sh share/genbuild.sh\n--- shareOLD/genbuild.sh 2014-11-03 08:32:08.950708258 +0100\n+++ share/genbuild.sh 2014-11-03 08:38:44.626698114 +0100\n@@ -16,7 +16,7 @@\n DESC=\"\"\n SUFFIX=\"\"\n LAST_COMMIT_DATE=\"\"\n-if [ -e \"$(which git 2\u003e/dev/null)\" -a $(git rev-parse \n--is-inside-work-tree 2\u003e/dev/null) = \"true\" ]; then\n+if [ -e \"$(which git 2\u003e/dev/null)\" -a \"$(git rev-parse \n--is-inside-work-tree 2\u003e/dev/null)\" = \"true\" ]; then\n # clean 'dirty' status of touched files that haven't been modified\n git diff \u003e/dev/null 2\u003e/dev/null\n\n\nBest regards,\n-- \nFrancis",
"sig": "2b137db1f6af29b5fe196aaadc5a73a0707742d74d19307b19b4e01d65bb78c6229d9be16f86dff35fc24b0af6231639531fded09d6edab8d397b70f93f9c106"
}