xoreaxeaxeax / movfuscator

The single instruction C compiler
Other
9.29k stars 394 forks source link

Bad variable name on ubuntu sub system for windows 10 #41

Open luki34567780 opened 3 years ago

luki34567780 commented 3 years ago

So i tried installing this compiler on a windows 10 system using the linux subsystem, but in build.sh at line 10 and install.sh at line 3 I get a bad variable name error. Here is the complete Log:


git clone https://github.com/xoreaxeaxeax/movfuscator
Cloning into 'movfuscator'...
remote: Enumerating objects: 319, done.
Receiving objects:  15% (48/319)
remote: Total 319 (delta 0), reused 0 (delta 0), pack-reused 319
Receiving objects: 100% (319/319), 11.96 MiB | 4.48 MiB/s, done.
Resolving deltas: 100% (123/123), done.
root@DESKTOP-5FIGTCF:... # cd movfuscator
cd movfuscator
root@DESKTOP-5FIGTCF:... # ./build.sh
./build.sh

# grab the frontend
[ ! -d "lcc" ] && git clone https://github.com/drh/lcc
Cloning into 'lcc'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 2459 (delta 13), reused 48 (delta 12), pack-reused 2408
Receiving objects: 100% (2459/2459), 2.55 MiB | 4.26 MiB/s, done.
Resolving deltas: 100% (1127/1127), done.
cd lcc && git reset --hard 3b3f01b4103cd7b519ae84bd1122c9b03233e687 && cd -
HEAD is now at 3b3f01b Fix issues 11 and 12 reported by Martin Ettl.
...

# create a build directory
export BUILDDIR=`pwd`/build
./build.sh: 10: export: python/movfuscator/build: bad variable name
root@DESKTOP-5FIGTCF:... # sudo ./install.sh
sudo ./install.sh
export BUILDDIR=`pwd`/build
./install.sh: 3: export: python/movfuscator/build: bad variable name
root@DESKTOP-5FIGTCF:... #```