å°ãèºããã®ã§ãã¡ã¢ã¡ã¢ãã¾ã¨ããã¨æ¬¡ã®ï¼ç¹ãè¦ç¹ã¨ãªãã ã¹ã¯ãªããã®æ¡å¼µåã .command ã«ãã ã¿ã¼ããã«ãããchmod ã§å®è¡æ¨©éãä¸ãã ã¹ã¯ãªããã® Shebang ã®ããä¸ã« cd `dirname $0` ãå ¥ãã ï¼ã·ã³ã°ã«ã§ã¯ãªãããã¯ã¯ãªã¼ãã§ãããã¨ã«æ³¨æï¼ è©³ç´°ã«ã¤ãã¦ãã¾ããã·ã§ã«ã¹ã¯ãªããã®æ¸ãæ¹ããããã㯠Linux ã¨åæ§ Shebang ã§ã¯ãããé常éãã³ã¼ããæ¸ãã¦ããã #!/bin/sh [ããããã³ã¼ã] ãã®ã¹ã¯ãªãããã¡ã¤ã«ãããã«ã¯ãªãã¯ããæã«ã¿ã¼ããã«ãèµ·åããããã«è¨å®ããå¿ è¦ããããMac ä¸ã§æ¡å¼µåã®é¢é£ä»ããè¡ãã°ãããã¨ã«ãªããã10.6 (Snow Leopard) ã§ã¯ãããã©ã«ã㧠".command" ã¨ããæ¡å¼µåãã¿ã¼ããã«ã«é¢é£ä»ããããããã¨ã確èªããã"install.command" ã®ãããªæã
{{#tags}}- {{label}}
{{/tags}}