summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-16 02:13:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-16 02:13:36 -0400
commit40cbdd4c93c987f2d5d4bc81b2a636481958e0b3 (patch)
tree5b75dbe633ec90160120c9ecd6b529f42da75a02 /Makefile
parent90edd2a2f4833038c195e3c3457cdb42e3f303aa (diff)
add $@ to shim
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71dbcbe54..97ec94a1a 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ linuxstandalone: Build/Standalone
mkdir -p "$(LINUXSTANDALONE_DEST)/shimmed"; \
mv "$$file" "$(LINUXSTANDALONE_DEST)/shimmed"; \
echo "#!/bin/sh" > "$$file"; \
- echo "exec \"\$$GIT_ANNEX_LINKER\" --library-path \"\$$GIT_ANNEX_LD_LIBRARY_PATH\" \"\$$GIT_ANNEX_SHIMMED/$$(basename "$$file")\"" >> "$$file"; \
+ echo "exec \"\$$GIT_ANNEX_LINKER\" --library-path \"\$$GIT_ANNEX_LD_LIBRARY_PATH\" \"\$$GIT_ANNEX_SHIMMED/$$(basename "$$file")\" \"\$$@\"" >> "$$file"; \
chmod +x "$$file"; \
fi; \
done