Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
98 user(s) are online (73 user(s) are browsing Forums)

Members: 1
Guests: 97

samo79, more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2019/10/21 12:00:04

Another sh/shell/makedir question

I've got a makedir file which features a
for loop
for p in plugins/*
    do
        echo "strip $p -o amigaospath/$p"
    done


Now, while the above works perfectly in a shell (within a text file, started with "sh test.sh") it errors out in the makefile with
Quote:

for p in plugins/*
T:gmake.sh.256.JEHKAK[1]: syntax error: `for' unmatched

and i'm puzzled as to why?

Any pointers?

Thank you
Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project