Last active
November 15, 2018 21:13
-
-
Save reneeb/65cd1202ada86633a7f3f19e8e3953b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -MPath::Tiny=path -E 'my $this = path(".")->absolute; for my $path ( $this->children ) { next if $path->is_file; chdir $path->stringify; say "$path"; say qx{git status}; chdir $this->stringify }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function enmod() { | |
cd /opt/otrs | |
perl /home/otrsvm/module-tools/bin/otrs.ModuleTools.pl Module::Package::Install /home/otrsvm/OTRS/$1 /opt/otrs --verbose | |
} | |
function dismod() { | |
cd /opt/otrs | |
perl /home/otrsvm/module-tools/bin/otrs.ModuleTools.pl Module::Package::Uninstall /home/otrsvm/OTRS/$1 /opt/otrs --verbose | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment