Skip to content

Instantly share code, notes, and snippets.

@IgorKarymov
Created September 17, 2011 15:50
Show Gist options
  • Save IgorKarymov/1224066 to your computer and use it in GitHub Desktop.
Save IgorKarymov/1224066 to your computer and use it in GitHub Desktop.
#!/bin/bash
DEVELOPMENT_APPS=apps/*
for app in $DEVELOPMENT_APPS
do
base_app=`basename $app`
release_app=rel/lib/`basename rel/lib/$base_app-*`
echo $release_app
rm -rf $release_app
abs_app=`readlink -f $app`
ln -s $abs_app $release_app
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment