Skip to content

Instantly share code, notes, and snippets.

@theRemix
Created July 1, 2014 02:27
Show Gist options
  • Select an option

  • Save theRemix/312c9dceef972e003ae6 to your computer and use it in GitHub Desktop.

Select an option

Save theRemix/312c9dceef972e003ae6 to your computer and use it in GitHub Desktop.
Haxe version manager (ghetto)
#!/bin/bash
echo "Current Version is `/usr/bin/haxe -help | sed -n '1p'`"
#!/bin/bash
sudo rm /usr/lib/haxe
sudo ln -sf /usr/lib/haxe-2.10 /usr/lib/haxe
echo "Haxe version set to `/usr/bin/haxe -help | sed -n '1p'`"
#!/bin/bash
sudo rm /usr/lib/haxe
sudo ln -sf /usr/lib/haxe-3.1.3 /usr/lib/haxe
echo "Haxe version set to `/usr/bin/haxe -help | sed -n '1p'`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment